diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bae1b375c..590478f7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,8 +56,28 @@ jobs: with: key: ${{ runner.os }}-ubuntu-${{ matrix.container_version }} evict-old-files: 'job' - - - name: Build PythonQt + + - name: Build PythonQt (generator_only) + run: | + export QT_SELECT=qt5 + echo ======= SYSTEM INFO ======== + uname -a; gcc --version | grep "gcc"; qmake --version + echo ============================ + qmake -r PythonQt.pro CONFIG+=ccache CONFIG+=release CONFIG+=force_debug_info \ + CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=generator_only + make -j $(nproc) + + - name: Generate Wrappers + run: | + # workaround to allow to find the Qt include dirs for installed standard qt packages + mkdir /usr/include/qt5; ln -s /usr/include/x86_64-linux-gnu/qt5 /usr/include/qt5/include + export QTDIR=/usr/include/qt5 + cd generator + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + ./pythonqt_generator + + - name: Build PythonQt (exclude_generator) run: | export QT_SELECT=qt5 echo ======= SYSTEM INFO ======== @@ -65,13 +85,14 @@ jobs: echo ============================ qmake -r PythonQt.pro CONFIG+=ccache CONFIG+=release CONFIG+=force_debug_info \ CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=exclude_generator \ PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) make -j $(nproc) PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ make check TESTARGS="-platform offscreen" - + - name: Run memory tests with sanitizers run: | QT_VERSION_FULL=$(qmake -query QT_VERSION) @@ -99,15 +120,6 @@ jobs: PYTHONQT_RUN_ONLY_CLEANUP_TESTS=1 \ PYTHONQT_DISABLE_ASYNCIO=1 \ make check TESTARGS="-platform minimal" - - - name: Generate Wrappers - run: | - # workaround to allow to find the Qt include dirs for installed standard qt packages - mkdir /usr/include/qt5; ln -s /usr/include/x86_64-linux-gnu/qt5 /usr/include/qt5/include - export QTDIR=/usr/include/qt5 - cd generator - UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ - ./pythonqt_generator - name: Upload Wrappers uses: actions/upload-artifact@v4 @@ -144,7 +156,25 @@ jobs: - name: Checkout PythonQt uses: actions/checkout@v5 - - name: Build PythonQt + - name: Build PythonQt (generator_only) + run: | + export QT_SELECT=qt5 + echo ======= SYSTEM INFO ======== + uname -a; gcc --version | grep "gcc"; qmake-qt5 --version + echo ============================ + qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} \ + CONFIG+=generator_only + make -j $(nproc) + + - name: Generate Wrappers + run: | + export QTDIR=/usr/include/qt5 + cd generator + # Specify "/usr/include" so that header "bits/wordsize.h" included from "qconfig.h" is found. + # See https://git.rockylinux.org/staging/rpms/qt5-qtbase/-/blob/r8/SOURCES/qconfig-multilib.h + ./pythonqt_generator --include-paths=/usr/include + + - name: Build PythonQt (exclude_generator) run: | export QT_SELECT=qt5 echo ======= SYSTEM INFO ======== @@ -157,26 +187,18 @@ jobs: echo PYTHON_VERSION_SHORT=${PYTHON_VERSION_SHORT} echo PYTHON_DIR=${PYTHON_DIR} qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} \ + CONFIG+=exclude_generator \ "PYTHON_VERSION=${PYTHON_VERSION_SHORT}" "PYTHON_DIR=${PYTHON_DIR}" make -j $(nproc) && \ PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ make check TESTARGS="-platform offscreen" - - name: Generate Wrappers - run: | - # workaround to allow to find the Qt include dirs for installed standard qt packages - mkdir /usr/include/qt5ln; ln -s /usr/include/qt5 /usr/include/qt5ln/include - export QTDIR=/usr/include/qt5ln - cd generator - ./pythonqt_generator - - name: Upload Wrappers uses: actions/upload-artifact@v4 with: name: wrappers_${{ matrix.container_os }}-${{ matrix.container_os_version }}_${{ matrix.configuration }} path: generated_cpp - # comment in after #291 is fixed - # if-no-files-found: error + if-no-files-found: error macOS: strategy: @@ -235,7 +257,24 @@ jobs: echo "MACOS_VERSION_FULL=$MACOS_VERSION_FULL" | tee -a $GITHUB_OUTPUT echo "MACOS_VERSION_SHORT=$MACOS_VERSION_SHORT" | tee -a $GITHUB_OUTPUT - - name: Build PythonQt + - name: Build PythonQt (generator_only) + run: | + set -ue + echo ======= SYSTEM INFO ======== + uname -a; gcc --version | head -n 1; qmake --version + echo ============================ + qmake CONFIG+=ccache CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=generator_only \ + -r PythonQt.pro + make -j $(nproc) + + - name: Generate Wrappers + run: | + cd generator + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + ./pythonqt_generator + + - name: Build PythonQt (exclude_generator) run: | set -ue echo ======= SYSTEM INFO ======== @@ -246,6 +285,7 @@ jobs: "python${PYTHON_VERSION_MAJOR}-embed" "python${PYTHON_VERSION_MAJOR}" do if pkg-config --exists "$i"; then PYTHON_PKGCONFIG_NAME="$i"; break; fi; done qmake CONFIG+=ccache CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=exclude_generator \ PYTHON_VERSION=${{ steps.versions.outputs.PYTHON_VERSION_SHORT }} \ PYTHON_DIR="$pythonLocation" \ PKGCONFIG+=$PYTHON_PKGCONFIG_NAME \ @@ -255,13 +295,6 @@ jobs: UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ make check TESTARGS="-platform offscreen" - - name: Generate Wrappers - if: ${{ contains(matrix.configuration, 'release') }} - run: | - cd generator - UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ - ./pythonqt_generator - - name: Upload Wrappers if: ${{ contains(matrix.configuration, 'release') }} uses: actions/upload-artifact@v4 @@ -351,13 +384,31 @@ jobs: echo "QT_VERSION_SHORT=$QT_VERSION_SHORT" | tee -a $GITHUB_OUTPUT echo "PYTHON_VERSION_SHORT=$PYTHON_VERSION_SHORT" | tee -a $GITHUB_OUTPUT - - name: Build PythonQt + - name: Build PythonQt (generator_only) + shell: cmd + run: | + qmake -query + qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target ^ + CONFIG+=generator_only ^ + PythonQt.pro + mingw32-make -j 2 ^ + || set CL=/MP && nmake + + - name: Generate Wrappers + shell: cmd + run: | + cd generator + set QTDIR=%QT_ROOT_DIR% + pythonqt_generator + + - name: Build PythonQt (exclude_generator) shell: cmd run: | qmake -query python --version set PYTHONQTALL_CONFIG=${{ matrix.pythonqtall-config }} qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target ^ + CONFIG+=exclude_generator ^ "PYTHON_PATH=%pythonLocation%" ^ "PYTHON_VERSION=${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}" ^ PythonQt.pro @@ -367,13 +418,6 @@ jobs: mingw32-make -j 2 && mingw32-make check "TESTARGS=-platform offscreen" ^ || set CL=/MP && nmake && nmake check "TESTARGS=-platform offscreen" - - name: Generate Wrappers - shell: cmd - run: | - cd generator - set QTDIR=%QT_ROOT_DIR% - pythonqt_generator - - name: Upload Wrappers if: (matrix.pythonqtall-config || '') == '' uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 4ba5f854b..4633ca7c4 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu', 'windows'] - qt-version: [ '5.12.*', '5.15.*', '6.9.*' ] + qt-version: [ '5.12.*', '5.15.*', '6.10.*' ] python-version: [ '3.12' ] runs-on: ${{ matrix.os }}-latest steps: @@ -98,7 +98,7 @@ jobs: path: generated_cpp if-no-files-found: error - - name: Build PythonQt Ubuntu + - name: Build PythonQt Ubuntu (exclude_generator) if: ${{ matrix.os == 'ubuntu' }} run: | echo ======= SYSTEM INFO ======== @@ -106,6 +106,7 @@ jobs: echo ============================ qmake -r PythonQt.pro CONFIG+=ccache CONFIG+=release CONFIG+=force_debug_info \ CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=exclude_generator \ PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) make -j $(nproc) @@ -113,13 +114,14 @@ jobs: UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ make check TESTARGS="-platform offscreen" - - name: Build PythonQt Windows + - name: Build PythonQt Windows (exclude_generator) shell: cmd if: ${{ matrix.os == 'windows' }} run: | qmake -query python --version qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target ^ + CONFIG+=exclude_generator ^ "PYTHONQTALL_CONFIG=${{ matrix.pythonqtall-config }}" ^ "PYTHON_PATH=%pythonLocation%" ^ "PYTHON_VERSION=${{ steps.setenv.outputs.PYTHON_VERSION_SHORT }}" ^ diff --git a/PythonQt.pro b/PythonQt.pro index 819e6f392..f78093f64 100644 --- a/PythonQt.pro +++ b/PythonQt.pro @@ -1,6 +1,24 @@ TEMPLATE = subdirs -SUBDIRS = generator src extensions tests examples +# Define the full set of subdirectories, including the generator. +# This list is used as the default build target. +ALL_SUBDIRS = generator src extensions tests examples + tests.depends += src extensions extensions.depends += src examples.depends += src extensions + +# The 'generator_only' config can be used to override the default. +CONFIG(generator_only) { + # If the generator_only config is set, override the SUBDIRS list + # to only include the generator. + SUBDIRS = generator +} else: CONFIG(exclude_generator) { + # If the 'generator_only' option is not present, but 'exclude_generator' is, + # then remove the generator from the default list. + SUBDIRS = $$ALL_SUBDIRS + SUBDIRS -= generator +} else { + # If neither special option is set, use the default build which includes everything. + SUBDIRS = $$ALL_SUBDIRS +} \ No newline at end of file diff --git a/README.md b/README.md index 92aaaa100..210777e8c 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,9 @@ see https://github.com/danmar/simplecpp. It is licensed under the `0BSDL` licens see the `LICENSE` file in the generator/simplecpp directory. Copyright (C) 2016-2023 simplecpp team -The generated wrappers are pre-generated and checked-in, so you only -need to build and run the generator when you want to build additional wrappers -or you want to upgrade/downgrade to another Qt version, but this requires -updating the typesystems as well. +Wrappers are **not** shipped pre-generated. You must run the generator to +create wrappers for your Qt version. The repository may keep a +single example tree (e.g., `generated_cpp_515`) only as a reference. # Building @@ -43,12 +42,6 @@ updating the typesystems as well. Building PythonQt requires a couple of steps. Follow these instructions in order to get a correctly built PythonQt runtime and Qt bindings. -### Recommendations - -It is recommended to build the Qt bindings yourself instead of using the pregenerated ones. -This ensures the bindings are compatible with your Qt version. -Do not build `PythonQt.pro` directly because it will only use the pregenerated bindings! - ### Environment First, you need to set a couple of environment variables, which depend on your Python and Qt installation. @@ -76,49 +69,59 @@ First, you need to set a couple of environment variables, which depend on your P ### Binding Generator -1. cd into the `generator` directory -2. Run qmake on `generator.pro` +1. Configure the generator at the top level - `qmake CONFIG+=Release generator.pro` + ```bash + qmake CONFIG+=generator_only CONFIG+=Release PythonQt.pro + ``` -3. Make the generator +2. Build the generator Use `nmake` for MSVC (Visual Studio; make sure to have the environment variables set for Visual Studio beforehand). Otherwise, use `make`. -4. Generate the bindings +3. Generate the bindings - We use the generator executable from step 3 to generate the bindings. + Use the generator executable from step 2 to generate the bindings. The location of the generator executable can vary depending on your platform (the subdirectory is named after the current configuration, e.g., `release`). On Windows, the generator is named `pythonqt_generator.exe`; on all other platforms, it is named `pythonqt_generator`. - ` qtscript_masterinclude.h build_all.txt` + ```bash + qtscript_masterinclude.h build_all.txt + ``` -### PythonQt Runtime -Next, we need the PythonQt runtime. +**Output location:** by default the generator emits to `../generated_cpp` +(relative to the build). You can override this with: -1. cd into the `src` directory -2. qmake `src.pro` +```bash +qmake PYTHONQT_GENERATED_PATH=/abs/path/to/generated_cpp +``` - `qmake CONFIG+=Release src.pro` +#### qmake toggles (optional) -3. Make the runtime +* `CONFIG+=generator_only`: build only the wrapper generator. +* `CONFIG+=exclude_generator`: build everything **except** the generator. - Use `nmake` for MSVC (Visual Studio; make sure to have the environment variables set for Visual Studio beforehand). Otherwise, use `make`. +Use these to (1) build the generator, (2) run it to produce `generated_cpp`, then (3) build the rest without rebuilding the generator. -### Extensions -As a last step, we need to build the extensions. +### PythonQt Runtime + +Next, build the runtime (and extensions) without the generator. -1. cd into `extensions` -2. qmake `extensions.pro` +1. Configure at the top level - `qmake CONFIG+=Release extensions.pro` + ``` + qmake CONFIG+=Release CONFIG+=exclude_generator PythonQt.pro + ``` -3. Make the extensions +2. Build Use `nmake` for MSVC (Visual Studio; make sure to have the environment variables set for Visual Studio beforehand). Otherwise, use `make`. +> The build will fail early if wrappers are missing from `../generated_cpp` +> or the path specified via `PYTHONQT_GENERATED_PATH`. + After all these steps, you should now have a fully working PythonQt runtime and Qt bindings for your Python/Qt installation 🎉. ## MinGW diff --git a/build/common.prf b/build/common.prf index 9726de4b0..90a845f48 100644 --- a/build/common.prf +++ b/build/common.prf @@ -17,42 +17,32 @@ CONFIG(debug, debug|release) { TARGET = $${TARGET}_d } -# Try files that are generated by the user: -PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp +# Allow override (e.g., qmake PYTHONQT_GENERATED_PATH=/abs/path) +isEmpty(PYTHONQT_GENERATED_PATH) { + PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp +} +# Fallbacks to checked-in wrappers !exists($$PYTHONQT_GENERATED_PATH) { - # If no files are generated, try the checked-in wrappers: - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_$${QT_MAJOR_VERSION}$${QT_MINOR_VERSION} - - !exists($$PYTHONQT_GENERATED_PATH) { - # For Qt5 we know that the older generated wrappers work with the later - # versions, even (apparently) Qt5.15, so: - equals(QT_MAJOR_VERSION, 5) { - # Qt5: have 5.0, 5.3, 5.4, 5.6 and 5.11 at present: - lessThan(QT_MINOR_VERSION, 3) { # 5.1, 5.2 - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_50 - } - else: lessThan(QT_MINOR_VERSION, 6) { # 5.5 - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_54 - } - else: lessThan(QT_MINOR_VERSION, 11) { # 5.7, 5.8, 5.9, 5.10 - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_56 - } - else: lessThan(QT_MINOR_VERSION, 15) { # 5.11, 5.12, 5.13, 5.14 - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_511 - } - else { # 5.15 - # LATEST Qt5 generated files: - PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_515 - } - } - - !exists($$PYTHONQT_GENERATED_PATH) { - error("No generated sources exist for Qt$${QT_VERSION}") - } + # Exact version directory (e.g., generated_cpp_515 or generated_cpp_69) + PYTHONQT_GENERATED_PATH_VERSIONED = $$PWD/../generated_cpp_$${QT_MAJOR_VERSION}$${QT_MINOR_VERSION} + exists($$PYTHONQT_GENERATED_PATH_VERSIONED) { + PYTHONQT_GENERATED_PATH = $$PYTHONQT_GENERATED_PATH_VERSIONED } } +!exists($$PYTHONQT_GENERATED_PATH) { + error("No generated wrapper sources for Qt $${QT_VERSION}.\n" \ + "Looked in:\n" \ + " - $$PWD/../generated_cpp\n" \ + " - $$PWD/../generated_cpp_$${QT_MAJOR_VERSION}$${QT_MINOR_VERSION} (e.g., generated_cpp_515)\n" \ + "Generate them first:\n" \ + " qmake CONFIG+=generator_only && make\n" \ + " cd generator && ./pythonqt_generator\n" \ + "Or pass an explicit path:\n" \ + " qmake PYTHONQT_GENERATED_PATH=/abs/path") +} + !build_pass { message("Qt version: Qt$${QT_VERSION}") message("Using generated sources files from $${PYTHONQT_GENERATED_PATH}") diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core.pri deleted file mode 100644 index 65310b62d..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core.pri +++ /dev/null @@ -1,12 +0,0 @@ -HEADERS += \ - $$PWD/com_trolltech_qt_core0.h \ - $$PWD/com_trolltech_qt_core1.h \ - $$PWD/com_trolltech_qt_core2.h \ - $$PWD/com_trolltech_qt_core3.h \ - -SOURCES += \ - $$PWD/com_trolltech_qt_core0.cpp \ - $$PWD/com_trolltech_qt_core1.cpp \ - $$PWD/com_trolltech_qt_core2.cpp \ - $$PWD/com_trolltech_qt_core3.cpp \ - $$PWD/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp deleted file mode 100644 index 69b137879..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ /dev/null @@ -1,8896 +0,0 @@ -#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 -#include -#include -#include - -PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractAnimation::childEvent(arg__1); -} -void PythonQtShell_QAbstractAnimation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractAnimation::customEvent(arg__1); -} -int PythonQtShell_QAbstractAnimation::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractAnimation::event(event0); -} -bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractAnimation::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractAnimation::timerEvent(arg__1); -} -void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractAnimation::updateDirection(direction0); -} -void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractAnimation::updateState(newState0, oldState1); -} -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()); -} - -int PythonQtWrapper_QAbstractAnimation::duration(QAbstractAnimation* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_duration()); -} - -bool PythonQtWrapper_QAbstractAnimation::event(QAbstractAnimation* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_event(event)); -} - -QAnimationGroup* PythonQtWrapper_QAbstractAnimation::group(QAbstractAnimation* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -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::updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime) -{ - ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); -} - -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)); -} - - - -PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::buddy(index0); -} -bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::canFetchMore(parent0); -} -void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::childEvent(arg__1); -} -int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractItemModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariant(); -} -bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractItemModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::event(arg__1); -} -bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::flags(index0); -} -bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::hasChildren(parent0); -} -QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::itemData(index0); -} -QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::mimeData(indexes0); -} -QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::mimeTypes(); -} -bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QAbstractItemModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::revert(); -} -QHash PythonQtShell_QAbstractItemModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::roleNames(); -} -int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::setData(index0, value1, role2); -} -bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::setItemData(index0, roles1); -} -QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::sort(column0, order1); -} -QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::span(index0); -} -bool PythonQtShell_QAbstractItemModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemModel::supportedDropActions(); -} -void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemModel::timerEvent(arg__1); -} -QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) -{ -return new PythonQtShell_QAbstractItemModel(parent); } - -void PythonQtWrapper_QAbstractItemModel::beginInsertColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginInsertColumns(parent, first, last)); -} - -void PythonQtWrapper_QAbstractItemModel::beginInsertRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginInsertRows(parent, first, last)); -} - -bool PythonQtWrapper_QAbstractItemModel::beginMoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn)); -} - -bool PythonQtWrapper_QAbstractItemModel::beginMoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow)); -} - -void PythonQtWrapper_QAbstractItemModel::beginRemoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveColumns(parent, first, last)); -} - -void PythonQtWrapper_QAbstractItemModel::beginRemoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveRows(parent, first, last)); -} - -void PythonQtWrapper_QAbstractItemModel::beginResetModel(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginResetModel()); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_buddy(index)); -} - -bool PythonQtWrapper_QAbstractItemModel::canDropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_canDropMimeData(data, action, row, column, parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_canFetchMore(parent)); -} - -void PythonQtWrapper_QAbstractItemModel::changePersistentIndex(QAbstractItemModel* theWrappedObject, const QModelIndex& from, const QModelIndex& to) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndex(from, to)); -} - -void PythonQtWrapper_QAbstractItemModel::changePersistentIndexList(QAbstractItemModel* theWrappedObject, const QList& from, const QList& to) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndexList(from, to)); -} - -int PythonQtWrapper_QAbstractItemModel::columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex(row, column, id)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel* theWrappedObject, int row, int column, void* data) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex(row, column, data)); -} - -QVariant PythonQtWrapper_QAbstractItemModel::data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_data(index, role)); -} - -bool PythonQtWrapper_QAbstractItemModel::decodeData(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent, QDataStream& stream) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_decodeData(row, column, parent, stream)); -} - -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::encodeData(QAbstractItemModel* theWrappedObject, const QList& indexes, QDataStream& stream) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_encodeData(indexes, stream)); -} - -void PythonQtWrapper_QAbstractItemModel::endInsertColumns(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endInsertColumns()); -} - -void PythonQtWrapper_QAbstractItemModel::endInsertRows(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endInsertRows()); -} - -void PythonQtWrapper_QAbstractItemModel::endMoveColumns(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endMoveColumns()); -} - -void PythonQtWrapper_QAbstractItemModel::endMoveRows(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endMoveRows()); -} - -void PythonQtWrapper_QAbstractItemModel::endRemoveColumns(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endRemoveColumns()); -} - -void PythonQtWrapper_QAbstractItemModel::endRemoveRows(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endRemoveRows()); -} - -void PythonQtWrapper_QAbstractItemModel::endResetModel(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_endResetModel()); -} - -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)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - -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)); -} - -PythonQtPassOwnershipToPython 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()); -} - -bool PythonQtWrapper_QAbstractItemModel::moveColumn(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, const QModelIndex& destinationParent, int destinationChild) -{ - return ( theWrappedObject->moveColumn(sourceParent, sourceColumn, destinationParent, destinationChild)); -} - -bool PythonQtWrapper_QAbstractItemModel::moveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild)); -} - -bool PythonQtWrapper_QAbstractItemModel::moveRow(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, const QModelIndex& destinationParent, int destinationChild) -{ - return ( theWrappedObject->moveRow(sourceParent, sourceRow, destinationParent, destinationChild)); -} - -bool PythonQtWrapper_QAbstractItemModel::moveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild)); -} - -QObject* PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_parent(child)); -} - -QList PythonQtWrapper_QAbstractItemModel::persistentIndexList(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_persistentIndexList()); -} - -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)); -} - -void PythonQtWrapper_QAbstractItemModel::revert(QAbstractItemModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_revert()); -} - -QHash PythonQtWrapper_QAbstractItemModel::roleNames(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_roleNames()); -} - -int PythonQtWrapper_QAbstractItemModel::rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -bool PythonQtWrapper_QAbstractItemModel::setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -bool PythonQtWrapper_QAbstractItemModel::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)); -} - -QModelIndex PythonQtWrapper_QAbstractItemModel::sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_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)); -} - -bool PythonQtWrapper_QAbstractItemModel::submit(QAbstractItemModel* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_submit()); -} - -Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDragActions(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_supportedDragActions()); -} - -Qt::DropActions PythonQtWrapper_QAbstractItemModel::supportedDropActions(QAbstractItemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_supportedDropActions()); -} - - - -PythonQtShell_QAbstractListModel::~PythonQtShell_QAbstractListModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QAbstractListModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::buddy(index0); -} -bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::canFetchMore(parent0); -} -void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractListModel::childEvent(arg__1); -} -void PythonQtShell_QAbstractListModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractListModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariant(); -} -bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractListModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::event(arg__1); -} -bool PythonQtShell_QAbstractListModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractListModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::flags(index0); -} -QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::index(row0, column1, parent2); -} -bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::itemData(index0); -} -QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::mimeData(indexes0); -} -QStringList PythonQtShell_QAbstractListModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::mimeTypes(); -} -bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QAbstractListModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractListModel::revert(); -} -QHash PythonQtShell_QAbstractListModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::roleNames(); -} -int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::setData(index0, value1, role2); -} -bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::setItemData(index0, roles1); -} -QModelIndex PythonQtShell_QAbstractListModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractListModel::sort(column0, order1); -} -QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::span(index0); -} -bool PythonQtShell_QAbstractListModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractListModel::supportedDropActions(); -} -void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractState::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractState::childEvent(arg__1); -} -void PythonQtShell_QAbstractState::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractState::customEvent(arg__1); -} -bool PythonQtShell_QAbstractState::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractState::event(e0); -} -bool PythonQtShell_QAbstractState::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractState::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractState::onEntry(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractState::onExit(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractState::timerEvent(arg__1); -} -QAbstractState* PythonQtWrapper_QAbstractState::new_QAbstractState(QState* parent) -{ -return new PythonQtShell_QAbstractState(parent); } - -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()); -} - -void PythonQtWrapper_QAbstractState::onEntry(QAbstractState* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onEntry(event)); -} - -void PythonQtWrapper_QAbstractState::onExit(QAbstractState* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_onExit(event)); -} - -QState* PythonQtWrapper_QAbstractState::parentState(QAbstractState* theWrappedObject) const -{ - return ( theWrappedObject->parentState()); -} - - - -PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTransition::childEvent(arg__1); -} -void PythonQtShell_QAbstractTransition::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTransition::customEvent(arg__1); -} -bool PythonQtShell_QAbstractTransition::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTransition::event(e0); -} -bool PythonQtShell_QAbstractTransition::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTransition::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return bool(); -} -void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -bool PythonQtWrapper_QAbstractTransition::eventTest(QAbstractTransition* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_eventTest(event)); -} - -QStateMachine* PythonQtWrapper_QAbstractTransition::machine(QAbstractTransition* theWrappedObject) const -{ - return ( theWrappedObject->machine()); -} - -void PythonQtWrapper_QAbstractTransition::onTransition(QAbstractTransition* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_onTransition(event)); -} - -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()); -} - - - -PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAnimationGroup::childEvent(arg__1); -} -void PythonQtShell_QAnimationGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAnimationGroup::customEvent(arg__1); -} -int PythonQtShell_QAnimationGroup::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAnimationGroup::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAnimationGroup::event(event0); -} -bool PythonQtShell_QAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAnimationGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAnimationGroup::timerEvent(arg__1); -} -void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAnimationGroup::updateDirection(direction0); -} -void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAnimationGroup::updateState(newState0, oldState1); -} -QAnimationGroup* PythonQtWrapper_QAnimationGroup::new_QAnimationGroup(QObject* parent) -{ -return new PythonQtShell_QAnimationGroup(parent); } - -void PythonQtWrapper_QAnimationGroup::addAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP animation) -{ - ( theWrappedObject->insertAnimation(index, animation)); -} - -void PythonQtWrapper_QAnimationGroup::removeAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToPython animation) -{ - ( theWrappedObject->removeAnimation(animation)); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QAnimationGroup::takeAnimation(QAnimationGroup* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAnimation(index)); -} - - - -PythonQtShell_QBasicMutex::~PythonQtShell_QBasicMutex() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QBasicMutex* PythonQtWrapper_QBasicMutex::new_QBasicMutex() -{ -return new PythonQtShell_QBasicMutex(); } - -bool PythonQtWrapper_QBasicMutex::isRecursive(QBasicMutex* theWrappedObject) -{ - return ( theWrappedObject->isRecursive()); -} - -void PythonQtWrapper_QBasicMutex::lock(QBasicMutex* theWrappedObject) -{ - ( theWrappedObject->lock()); -} - -bool PythonQtWrapper_QBasicMutex::tryLock(QBasicMutex* theWrappedObject) -{ - return ( theWrappedObject->tryLock()); -} - -void PythonQtWrapper_QBasicMutex::unlock(QBasicMutex* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - - - -QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer() -{ -return new QBasicTimer(); } - -bool PythonQtWrapper_QBasicTimer::isActive(QBasicTimer* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, QObject* obj) -{ - ( theWrappedObject->start(msec, obj)); -} - -void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj) -{ - ( theWrappedObject->start(msec, timerType, obj)); -} - -void PythonQtWrapper_QBasicTimer::stop(QBasicTimer* theWrappedObject) -{ - ( theWrappedObject->stop()); -} - -int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const -{ - return ( theWrappedObject->timerId()); -} - - - -PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QBuffer::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::atEnd(); -} -qint64 PythonQtShell_QBuffer::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::bytesAvailable(); -} -qint64 PythonQtShell_QBuffer::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::bytesToWrite(); -} -bool PythonQtShell_QBuffer::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::canReadLine(); -} -void PythonQtShell_QBuffer::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBuffer::childEvent(arg__1); -} -void PythonQtShell_QBuffer::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBuffer::close(); -} -void PythonQtShell_QBuffer::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBuffer::customEvent(arg__1); -} -bool PythonQtShell_QBuffer::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::event(arg__1); -} -bool PythonQtShell_QBuffer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QBuffer::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::isSequential(); -} -bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&openMode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::open(openMode0); -} -qint64 PythonQtShell_QBuffer::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::pos(); -} -qint64 PythonQtShell_QBuffer::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::readData(data0, maxlen1); -} -qint64 PythonQtShell_QBuffer::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::readLineData(data0, maxlen1); -} -bool PythonQtShell_QBuffer::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::reset(); -} -bool PythonQtShell_QBuffer::seek(qint64 off0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&off0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::seek(off0); -} -qint64 PythonQtShell_QBuffer::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::size(); -} -void PythonQtShell_QBuffer::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBuffer::timerEvent(arg__1); -} -bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QBuffer::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBuffer::writeData(data0, len1); -} -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()); -} - -const QByteArray* PythonQtWrapper_QBuffer::buffer(QBuffer* theWrappedObject) const -{ - return &( theWrappedObject->buffer()); -} - -bool PythonQtWrapper_QBuffer::canReadLine(QBuffer* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_canReadLine()); -} - -void PythonQtWrapper_QBuffer::close(QBuffer* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_close()); -} - -void PythonQtWrapper_QBuffer::connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) -{ - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_connectNotify(arg__1)); -} - -const QByteArray* PythonQtWrapper_QBuffer::data(QBuffer* theWrappedObject) const -{ - return &( theWrappedObject->data()); -} - -void PythonQtWrapper_QBuffer::disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) -{ - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_disconnectNotify(arg__1)); -} - -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)); -} - - - -PythonQtShell_QChildEvent::~PythonQtShell_QChildEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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 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)); -} - -QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() -{ - return (QCoreApplication::eventDispatcher()); -} - -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()); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) -{ - return (QCoreApplication::installTranslator(messageFile)); -} - -QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() -{ - return (QCoreApplication::instance()); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isQuitLockEnabled() -{ - return (QCoreApplication::isQuitLockEnabled()); -} - -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, PythonQtPassOwnershipToCPP 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, int eventType) -{ - (QCoreApplication::removePostedEvents(receiver, eventType)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) -{ - return (QCoreApplication::removeTranslator(messageFile)); -} - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) -{ - return (QCoreApplication::sendEvent(receiver, event)); -} - -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_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher) -{ - (QCoreApplication::setEventDispatcher(eventDispatcher)); -} - -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)); -} - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setQuitLockEnabled(bool enabled) -{ - (QCoreApplication::setQuitLockEnabled(enabled)); -} - -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, int n) -{ - return (QCoreApplication::translate(context, key, disambiguation, n)); -} - - - -QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) -{ -return new QCryptographicHash(method); } - -bool PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, QIODevice* device) -{ - return ( theWrappedObject->addData(device)); -} - -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 QDataStream(); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) -{ -return new QDataStream(arg__1, flags); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) -{ -return new QDataStream(arg__1); } - -QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) -{ -return new QDataStream(arg__1); } - -bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); -} - -QDataStream::ByteOrder PythonQtWrapper_QDataStream::byteOrder(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->byteOrder()); -} - -QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QDataStream::FloatingPointPrecision PythonQtWrapper_QDataStream::floatingPointPrecision(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->floatingPointPrecision()); -} - -void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) -{ - ( theWrappedObject->resetStatus()); -} - -void PythonQtWrapper_QDataStream::setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1) -{ - ( theWrappedObject->setByteOrder(arg__1)); -} - -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)); -} - -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::removeRecursively(QDir* theWrappedObject) -{ - return ( theWrappedObject->removeRecursively()); -} - -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()); -} - -void PythonQtWrapper_QDir::swap(QDir* theWrappedObject, QDir& other) -{ - ( theWrappedObject->swap(other)); -} - -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 QDirIterator(dir, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags) -{ -return new QDirIterator(path, filter, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags) -{ -return new QDirIterator(path, flags); } - -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) -{ -return new QDirIterator(path, nameFilters, filters, flags); } - -QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const -{ - 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); } - -void PythonQtWrapper_QEasingCurve::addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint) -{ - ( theWrappedObject->addCubicBezierSegment(c1, c2, endPoint)); -} - -void PythonQtWrapper_QEasingCurve::addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b) -{ - ( theWrappedObject->addTCBSegment(nextPoint, t, c, b)); -} - -qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const -{ - return ( theWrappedObject->amplitude()); -} - -bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const -{ - return ( (*theWrappedObject)!= other); -} - -void PythonQtWrapper_QEasingCurve::writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -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); -} - -void PythonQtWrapper_QEasingCurve::readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -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)); -} - -void PythonQtWrapper_QEasingCurve::swap(QEasingCurve* theWrappedObject, QEasingCurve& other) -{ - ( theWrappedObject->swap(other)); -} - -QVector PythonQtWrapper_QEasingCurve::toCubicSpline(QEasingCurve* theWrappedObject) const -{ - return ( theWrappedObject->toCubicSpline()); -} - -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; -} - - - -PythonQtShell_QElapsedTimer::~PythonQtShell_QElapsedTimer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QElapsedTimer* PythonQtWrapper_QElapsedTimer::new_QElapsedTimer() -{ -return new PythonQtShell_QElapsedTimer(); } - -QElapsedTimer::ClockType PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_clockType() -{ - return (QElapsedTimer::clockType()); -} - -qint64 PythonQtWrapper_QElapsedTimer::elapsed(QElapsedTimer* theWrappedObject) const -{ - return ( theWrappedObject->elapsed()); -} - -bool PythonQtWrapper_QElapsedTimer::hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const -{ - return ( theWrappedObject->hasExpired(timeout)); -} - -void PythonQtWrapper_QElapsedTimer::invalidate(QElapsedTimer* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -bool PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_isMonotonic() -{ - return (QElapsedTimer::isMonotonic()); -} - -bool PythonQtWrapper_QElapsedTimer::isValid(QElapsedTimer* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qint64 PythonQtWrapper_QElapsedTimer::msecsSinceReference(QElapsedTimer* theWrappedObject) const -{ - return ( theWrappedObject->msecsSinceReference()); -} - -qint64 PythonQtWrapper_QElapsedTimer::msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const -{ - return ( theWrappedObject->msecsTo(other)); -} - -qint64 PythonQtWrapper_QElapsedTimer::nsecsElapsed(QElapsedTimer* theWrappedObject) const -{ - return ( theWrappedObject->nsecsElapsed()); -} - -bool PythonQtWrapper_QElapsedTimer::__ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QElapsedTimer::__eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const -{ - return ( (*theWrappedObject)== other); -} - -qint64 PythonQtWrapper_QElapsedTimer::restart(QElapsedTimer* theWrappedObject) -{ - return ( theWrappedObject->restart()); -} - -qint64 PythonQtWrapper_QElapsedTimer::secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const -{ - return ( theWrappedObject->secsTo(other)); -} - -void PythonQtWrapper_QElapsedTimer::start(QElapsedTimer* theWrappedObject) -{ - ( theWrappedObject->start()); -} - - - -PythonQtShell_QEvent::~PythonQtShell_QEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) -{ -return new PythonQtShell_QEvent(type); } - -QEvent* PythonQtWrapper_QEvent::new_QEvent(const QEvent& other) -{ -return new PythonQtShell_QEvent(other); } - -void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) -{ - ( theWrappedObject->accept()); -} - -void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) -{ - ( theWrappedObject->ignore()); -} - -bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAccepted()); -} - -QEvent* PythonQtWrapper_QEvent::operator_assign(QEvent* theWrappedObject, const QEvent& other) -{ - return &( (*theWrappedObject)= other); -} - -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; -} - - - -PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QEventLoop::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventLoop::childEvent(arg__1); -} -void PythonQtShell_QEventLoop::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventLoop::customEvent(arg__1); -} -bool PythonQtShell_QEventLoop::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QEventLoop::event(event0); -} -bool PythonQtShell_QEventLoop::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QEventLoop::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventLoop::timerEvent(arg__1); -} -QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) -{ -return new PythonQtShell_QEventLoop(parent); } - -bool PythonQtWrapper_QEventLoop::event(QEventLoop* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QEventLoop*)theWrappedObject)->promoted_event(event)); -} - -int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) -{ - return ( theWrappedObject->exec(flags)); -} - -void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) -{ - ( theWrappedObject->exit(returnCode)); -} - -bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const -{ - return ( theWrappedObject->isRunning()); -} - -bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) -{ - return ( theWrappedObject->processEvents(flags)); -} - -void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) -{ - ( theWrappedObject->processEvents(flags, maximumTime)); -} - -void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) -{ - ( theWrappedObject->wakeUp()); -} - - - -PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QEventTransition::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventTransition::childEvent(arg__1); -} -void PythonQtShell_QEventTransition::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventTransition::customEvent(arg__1); -} -bool PythonQtShell_QEventTransition::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QEventTransition::event(e0); -} -bool PythonQtShell_QEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QEventTransition::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QEventTransition::eventTest(event0); -} -void PythonQtShell_QEventTransition::onTransition(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QEventTransition::onTransition(event0); -} -void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStringList PythonQtShell_QFactoryInterface::keys() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keys"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QStringList(); -} -QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() -{ -return new PythonQtShell_QFactoryInterface(); } - -QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFactoryInterface*)theWrappedObject)->promoted_keys()); -} - - - -PythonQtShell_QFile::~PythonQtShell_QFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QFile::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::atEnd(); -} -qint64 PythonQtShell_QFile::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::bytesAvailable(); -} -qint64 PythonQtShell_QFile::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::bytesToWrite(); -} -bool PythonQtShell_QFile::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::canReadLine(); -} -void PythonQtShell_QFile::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFile::childEvent(arg__1); -} -void PythonQtShell_QFile::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFile::close(); -} -void PythonQtShell_QFile::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFile::customEvent(arg__1); -} -bool PythonQtShell_QFile::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::event(arg__1); -} -bool PythonQtShell_QFile::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::eventFilter(arg__1, arg__2); -} -QString PythonQtShell_QFile::fileName() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fileName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::fileName(); -} -bool PythonQtShell_QFile::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::isSequential(); -} -bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::open(flags0); -} -QFileDevice::Permissions PythonQtShell_QFile::permissions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::permissions(); -} -qint64 PythonQtShell_QFile::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::pos(); -} -qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::readData(data0, maxlen1); -} -qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::readLineData(data0, maxlen1); -} -bool PythonQtShell_QFile::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::reset(); -} -bool PythonQtShell_QFile::resize(qint64 sz0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::resize(sz0); -} -bool PythonQtShell_QFile::seek(qint64 offset0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::seek(offset0); -} -bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::setPermissions(permissionSpec0); -} -qint64 PythonQtShell_QFile::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::size(); -} -void PythonQtShell_QFile::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFile::timerEvent(arg__1); -} -bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QFile::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFile::writeData(data0, len1); -} -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::static_QFile_copy(const QString& fileName, const QString& newName) -{ - return (QFile::copy(fileName, newName)); -} - -bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->copy(newName)); -} - -QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) -{ - return (QFile::decodeName(localFileName)); -} - -QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) -{ - return (QFile::encodeName(fileName)); -} - -bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const -{ - return ( theWrappedObject->exists()); -} - -bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) -{ - return (QFile::exists(fileName)); -} - -QString PythonQtWrapper_QFile::fileName(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_fileName()); -} - -bool PythonQtWrapper_QFile::link(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->link(newName)); -} - -bool PythonQtWrapper_QFile::static_QFile_link(const QString& oldname, const QString& newName) -{ - return (QFile::link(oldname, newName)); -} - -bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, QIODevice::OpenMode flags) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_open(flags)); -} - -bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags) -{ - return ( theWrappedObject->open(fd, ioFlags, handleFlags)); -} - -QFileDevice::Permissions PythonQtWrapper_QFile::permissions(QFile* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_permissions()); -} - -QFileDevice::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) -{ - return (QFile::permissions(filename)); -} - -bool PythonQtWrapper_QFile::remove(QFile* theWrappedObject) -{ - return ( theWrappedObject->remove()); -} - -bool PythonQtWrapper_QFile::static_QFile_remove(const QString& fileName) -{ - return (QFile::remove(fileName)); -} - -bool PythonQtWrapper_QFile::rename(QFile* theWrappedObject, const QString& newName) -{ - return ( theWrappedObject->rename(newName)); -} - -bool PythonQtWrapper_QFile::static_QFile_rename(const QString& oldName, const QString& newName) -{ - return (QFile::rename(oldName, newName)); -} - -bool PythonQtWrapper_QFile::static_QFile_resize(const QString& filename, qint64 sz) -{ - return (QFile::resize(filename, sz)); -} - -bool PythonQtWrapper_QFile::resize(QFile* theWrappedObject, qint64 sz) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_resize(sz)); -} - -void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setFileName(name)); -} - -bool PythonQtWrapper_QFile::setPermissions(QFile* theWrappedObject, QFileDevice::Permissions permissionSpec) -{ - return ( ((PythonQtPublicPromoter_QFile*)theWrappedObject)->promoted_setPermissions(permissionSpec)); -} - -bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFileDevice::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)); -} - - - -PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QFileDevice::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::atEnd(); -} -qint64 PythonQtShell_QFileDevice::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::bytesAvailable(); -} -qint64 PythonQtShell_QFileDevice::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::bytesToWrite(); -} -bool PythonQtShell_QFileDevice::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::canReadLine(); -} -void PythonQtShell_QFileDevice::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDevice::childEvent(arg__1); -} -void PythonQtShell_QFileDevice::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDevice::close(); -} -void PythonQtShell_QFileDevice::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDevice::customEvent(arg__1); -} -bool PythonQtShell_QFileDevice::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::event(arg__1); -} -bool PythonQtShell_QFileDevice::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::eventFilter(arg__1, arg__2); -} -QString PythonQtShell_QFileDevice::fileName() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fileName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::fileName(); -} -bool PythonQtShell_QFileDevice::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::isSequential(); -} -bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::open(mode0); -} -QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::permissions(); -} -qint64 PythonQtShell_QFileDevice::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::pos(); -} -qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::readData(data0, maxlen1); -} -qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::readLineData(data0, maxlen1); -} -bool PythonQtShell_QFileDevice::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::reset(); -} -bool PythonQtShell_QFileDevice::resize(qint64 sz0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::resize(sz0); -} -bool PythonQtShell_QFileDevice::seek(qint64 offset0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::seek(offset0); -} -bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::setPermissions(permissionSpec0); -} -qint64 PythonQtShell_QFileDevice::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::size(); -} -void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDevice::timerEvent(arg__1); -} -bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDevice::writeData(data0, len1); -} -QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice() -{ -return new PythonQtShell_QFileDevice(); } - -QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice(QObject* parent) -{ -return new PythonQtShell_QFileDevice(parent); } - -bool PythonQtWrapper_QFileDevice::atEnd(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_atEnd()); -} - -void PythonQtWrapper_QFileDevice::close(QFileDevice* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_close()); -} - -QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_fileName()); -} - -bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) -{ - return ( theWrappedObject->flush()); -} - -int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -bool PythonQtWrapper_QFileDevice::isSequential(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_isSequential()); -} - -uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags) -{ - return ( theWrappedObject->map(offset, size, flags)); -} - -QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_permissions()); -} - -qint64 PythonQtWrapper_QFileDevice::pos(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_pos()); -} - -qint64 PythonQtWrapper_QFileDevice::readData(QFileDevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -qint64 PythonQtWrapper_QFileDevice::readLineData(QFileDevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -bool PythonQtWrapper_QFileDevice::resize(QFileDevice* theWrappedObject, qint64 sz) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_resize(sz)); -} - -bool PythonQtWrapper_QFileDevice::seek(QFileDevice* theWrappedObject, qint64 offset) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_seek(offset)); -} - -bool PythonQtWrapper_QFileDevice::setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_setPermissions(permissionSpec)); -} - -qint64 PythonQtWrapper_QFileDevice::size(QFileDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->promoted_size()); -} - -bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) -{ - return ( theWrappedObject->unmap(address)); -} - -void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) -{ - ( theWrappedObject->unsetError()); -} - -qint64 PythonQtWrapper_QFileDevice::writeData(QFileDevice* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QFileDevice*)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::isNativePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isNativePath()); -} - -bool PythonQtWrapper_QFileInfo::isReadable(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -bool PythonQtWrapper_QFileInfo::isRelative(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isRelative()); -} - -bool PythonQtWrapper_QFileInfo::isRoot(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->isRoot()); -} - -bool PythonQtWrapper_QFileInfo::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()); -} - -QString PythonQtWrapper_QFileInfo::owner(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->owner()); -} - -uint PythonQtWrapper_QFileInfo::ownerId(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->ownerId()); -} - -QString PythonQtWrapper_QFileInfo::path(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -bool PythonQtWrapper_QFileInfo::permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const -{ - return ( theWrappedObject->permission(permissions)); -} - -QFile::Permissions PythonQtWrapper_QFileInfo::permissions(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->permissions()); -} - -void PythonQtWrapper_QFileInfo::refresh(QFileInfo* theWrappedObject) -{ - ( theWrappedObject->refresh()); -} - -void PythonQtWrapper_QFileInfo::setCaching(QFileInfo* theWrappedObject, bool on) -{ - ( theWrappedObject->setCaching(on)); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file) -{ - ( theWrappedObject->setFile(dir, file)); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QFile& file) -{ - ( theWrappedObject->setFile(file)); -} - -void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QString& file) -{ - ( theWrappedObject->setFile(file)); -} - -qint64 PythonQtWrapper_QFileInfo::size(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QString PythonQtWrapper_QFileInfo::suffix(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->suffix()); -} - -void PythonQtWrapper_QFileInfo::swap(QFileInfo* theWrappedObject, QFileInfo& other) -{ - ( theWrappedObject->swap(other)); -} - -QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->symLinkTarget()); -} - - - -PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemWatcher::childEvent(arg__1); -} -void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemWatcher::customEvent(arg__1); -} -bool PythonQtShell_QFileSystemWatcher::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemWatcher::event(arg__1); -} -bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemWatcher::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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); } - -bool PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - return ( theWrappedObject->addPath(file)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - return ( theWrappedObject->addPaths(files)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->directories()); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->files()); -} - -bool PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - return ( theWrappedObject->removePath(file)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - return ( theWrappedObject->removePaths(files)); -} - - - -PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFinalState::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFinalState::childEvent(arg__1); -} -void PythonQtShell_QFinalState::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFinalState::customEvent(arg__1); -} -bool PythonQtShell_QFinalState::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFinalState::event(e0); -} -bool PythonQtShell_QFinalState::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFinalState::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFinalState::onEntry(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFinalState::onEntry(event0); -} -void PythonQtShell_QFinalState::onExit(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFinalState::onExit(event0); -} -void PythonQtShell_QFinalState::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QHistoryState::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHistoryState::childEvent(arg__1); -} -void PythonQtShell_QHistoryState::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHistoryState::customEvent(arg__1); -} -bool PythonQtShell_QHistoryState::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHistoryState::event(e0); -} -bool PythonQtShell_QHistoryState::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHistoryState::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QHistoryState::onEntry(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHistoryState::onEntry(event0); -} -void PythonQtShell_QHistoryState::onExit(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHistoryState::onExit(event0); -} -void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QIODevice::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::atEnd(); -} -qint64 PythonQtShell_QIODevice::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::bytesAvailable(); -} -qint64 PythonQtShell_QIODevice::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::bytesToWrite(); -} -bool PythonQtShell_QIODevice::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::canReadLine(); -} -void PythonQtShell_QIODevice::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIODevice::childEvent(arg__1); -} -void PythonQtShell_QIODevice::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIODevice::close(); -} -void PythonQtShell_QIODevice::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIODevice::customEvent(arg__1); -} -bool PythonQtShell_QIODevice::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::event(arg__1); -} -bool PythonQtShell_QIODevice::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QIODevice::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::isSequential(); -} -bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::open(mode0); -} -qint64 PythonQtShell_QIODevice::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::pos(); -} -qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return qint64(); -} -qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::readLineData(data0, maxlen1); -} -bool PythonQtShell_QIODevice::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::reset(); -} -bool PythonQtShell_QIODevice::seek(qint64 pos0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::seek(pos0); -} -qint64 PythonQtShell_QIODevice::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::size(); -} -void PythonQtShell_QIODevice::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIODevice::timerEvent(arg__1); -} -bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIODevice::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return qint64(); -} -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() -{ -return new PythonQtShell_QIODevice(); } - -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) -{ -return new PythonQtShell_QIODevice(parent); } - -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()); -} - -qint64 PythonQtWrapper_QIODevice::readData(QIODevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -QByteArray PythonQtWrapper_QIODevice::readLine(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->readLine(maxlen)); -} - -qint64 PythonQtWrapper_QIODevice::readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -bool PythonQtWrapper_QIODevice::reset(QIODevice* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_reset()); -} - -bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_seek(pos)); -} - -void PythonQtWrapper_QIODevice::setErrorString(QIODevice* theWrappedObject, const QString& errorString) -{ - ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setErrorString(errorString)); -} - -void PythonQtWrapper_QIODevice::setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode) -{ - ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setOpenMode(openMode)); -} - -void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setTextModeEnabled(enabled)); -} - -qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const -{ - return ( ((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)); -} - -qint64 PythonQtWrapper_QIODevice::writeData(QIODevice* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_writeData(data, len)); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.h deleted file mode 100644 index 9d6bbd8fa..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core0.h +++ /dev/null @@ -1,1673 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QAbstractAnimation : public QAbstractAnimation -{ -public: - PythonQtShell_QAbstractAnimation(QObject* parent = 0):QAbstractAnimation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAnimation(); - -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 int promoted_duration() const { return this->duration(); } -inline bool promoted_event(QEvent* event) { return QAbstractAnimation::event(event); } -inline void promoted_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } -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; - int duration(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 updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime); - 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) {}; - - ~PythonQtShell_QAbstractItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel -{ public: -inline void promoted_beginInsertColumns(const QModelIndex& parent, int first, int last) { QAbstractItemModel::beginInsertColumns(parent, first, last); } -inline void promoted_beginInsertRows(const QModelIndex& parent, int first, int last) { QAbstractItemModel::beginInsertRows(parent, first, last); } -inline bool promoted_beginMoveColumns(const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn) { return QAbstractItemModel::beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn); } -inline bool promoted_beginMoveRows(const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow) { return QAbstractItemModel::beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow); } -inline void promoted_beginRemoveColumns(const QModelIndex& parent, int first, int last) { QAbstractItemModel::beginRemoveColumns(parent, first, last); } -inline void promoted_beginRemoveRows(const QModelIndex& parent, int first, int last) { QAbstractItemModel::beginRemoveRows(parent, first, last); } -inline void promoted_beginResetModel() { QAbstractItemModel::beginResetModel(); } -inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); } -inline bool promoted_canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const { return QAbstractItemModel::canDropMimeData(data, action, row, column, parent); } -inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); } -inline void promoted_changePersistentIndex(const QModelIndex& from, const QModelIndex& to) { QAbstractItemModel::changePersistentIndex(from, to); } -inline void promoted_changePersistentIndexList(const QList& from, const QList& to) { QAbstractItemModel::changePersistentIndexList(from, to); } -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return this->columnCount(parent); } -inline QModelIndex promoted_createIndex(int row, int column, quintptr id) const { return QAbstractItemModel::createIndex(row, column, id); } -inline QModelIndex promoted_createIndex(int row, int column, void* data = 0) const { return QAbstractItemModel::createIndex(row, column, data); } -inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return this->data(index, role); } -inline bool promoted_decodeData(int row, int column, const QModelIndex& parent, QDataStream& stream) { return QAbstractItemModel::decodeData(row, column, parent, stream); } -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_encodeData(const QList& indexes, QDataStream& stream) const { QAbstractItemModel::encodeData(indexes, stream); } -inline void promoted_endInsertColumns() { QAbstractItemModel::endInsertColumns(); } -inline void promoted_endInsertRows() { QAbstractItemModel::endInsertRows(); } -inline void promoted_endMoveColumns() { QAbstractItemModel::endMoveColumns(); } -inline void promoted_endMoveRows() { QAbstractItemModel::endMoveRows(); } -inline void promoted_endRemoveColumns() { QAbstractItemModel::endRemoveColumns(); } -inline void promoted_endRemoveRows() { QAbstractItemModel::endRemoveRows(); } -inline void promoted_endResetModel() { QAbstractItemModel::endResetModel(); } -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 QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return this->index(row, column, parent); } -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_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QAbstractItemModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } -inline bool promoted_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QAbstractItemModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } -inline QModelIndex promoted_parent(const QModelIndex& child) const { return this->parent(child); } -inline QList promoted_persistentIndexList() const { return QAbstractItemModel::persistentIndexList(); } -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 QHash promoted_roleNames() const { return QAbstractItemModel::roleNames(); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return this->rowCount(parent); } -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 QModelIndex promoted_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractItemModel::sibling(row, column, idx); } -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_supportedDragActions() const { return QAbstractItemModel::supportedDragActions(); } -inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); } -}; - -class PythonQtWrapper_QAbstractItemModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LayoutChangeHint ) -enum LayoutChangeHint{ - NoLayoutChangeHint = QAbstractItemModel::NoLayoutChangeHint, VerticalSortHint = QAbstractItemModel::VerticalSortHint, HorizontalSortHint = QAbstractItemModel::HorizontalSortHint}; -public slots: -QAbstractItemModel* new_QAbstractItemModel(QObject* parent = 0); -void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } - void beginInsertColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); - void beginInsertRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); - bool beginMoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn); - bool beginMoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationRow); - void beginRemoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); - void beginRemoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); - void beginResetModel(QAbstractItemModel* theWrappedObject); - QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const; - bool canDropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; - bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const; - void changePersistentIndex(QAbstractItemModel* theWrappedObject, const QModelIndex& from, const QModelIndex& to); - void changePersistentIndexList(QAbstractItemModel* theWrappedObject, const QList& from, const QList& to); - int columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QModelIndex createIndex(QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const; - QModelIndex createIndex(QAbstractItemModel* theWrappedObject, int row, int column, void* data = 0) const; - QVariant data(QAbstractItemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; - bool decodeData(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent, QDataStream& stream); - bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - void encodeData(QAbstractItemModel* theWrappedObject, const QList& indexes, QDataStream& stream) const; - void endInsertColumns(QAbstractItemModel* theWrappedObject); - void endInsertRows(QAbstractItemModel* theWrappedObject); - void endMoveColumns(QAbstractItemModel* theWrappedObject); - void endMoveRows(QAbstractItemModel* theWrappedObject); - void endRemoveColumns(QAbstractItemModel* theWrappedObject); - void endRemoveRows(QAbstractItemModel* theWrappedObject); - void endResetModel(QAbstractItemModel* theWrappedObject); - 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; - QModelIndex index(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) 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; - PythonQtPassOwnershipToPython mimeData(QAbstractItemModel* theWrappedObject, const QList& indexes) const; - QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const; - bool moveColumn(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, const QModelIndex& destinationParent, int destinationChild); - bool moveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); - bool moveRow(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, const QModelIndex& destinationParent, int destinationChild); - bool moveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); - QObject* parent(QAbstractItemModel* theWrappedObject) const; - QModelIndex parent(QAbstractItemModel* theWrappedObject, const QModelIndex& child) const; - QList persistentIndexList(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()); - void revert(QAbstractItemModel* theWrappedObject); - QHash roleNames(QAbstractItemModel* theWrappedObject) const; - int rowCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) 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); - 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; - bool submit(QAbstractItemModel* theWrappedObject); - 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) {}; - - ~PythonQtShell_QAbstractListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -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 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -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) {}; - - ~PythonQtShell_QAbstractState(); - -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); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -}; - -class PythonQtWrapper_QAbstractState : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractState* new_QAbstractState(QState* parent = 0); -void delete_QAbstractState(QAbstractState* obj) { delete obj; } - bool event(QAbstractState* theWrappedObject, QEvent* e); - QStateMachine* machine(QAbstractState* theWrappedObject) const; - void onEntry(QAbstractState* theWrappedObject, QEvent* event); - void onExit(QAbstractState* theWrappedObject, QEvent* event); - QState* parentState(QAbstractState* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QAbstractTransition : public QAbstractTransition -{ -public: - PythonQtShell_QAbstractTransition(QState* sourceState = 0):QAbstractTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTransition(); - -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); } -inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } -inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } -}; - -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); - bool eventTest(QAbstractTransition* theWrappedObject, QEvent* event); - QStateMachine* machine(QAbstractTransition* theWrappedObject) const; - void onTransition(QAbstractTransition* theWrappedObject, QEvent* event); - 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) {}; - - ~PythonQtShell_QAnimationGroup(); - -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP animation); - void removeAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToPython animation); - PythonQtPassOwnershipToPython takeAnimation(QAnimationGroup* theWrappedObject, int index); -}; - - - - - -class PythonQtShell_QBasicMutex : public QBasicMutex -{ -public: - PythonQtShell_QBasicMutex():QBasicMutex(),_wrapper(NULL) {}; - - ~PythonQtShell_QBasicMutex(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QBasicMutex : public QObject -{ Q_OBJECT -public: -public slots: -QBasicMutex* new_QBasicMutex(); -void delete_QBasicMutex(QBasicMutex* obj) { delete obj; } - bool isRecursive(QBasicMutex* theWrappedObject); - void lock(QBasicMutex* theWrappedObject); - bool tryLock(QBasicMutex* theWrappedObject); - void unlock(QBasicMutex* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QBasicTimer : public QObject -{ Q_OBJECT -public: -public slots: -QBasicTimer* new_QBasicTimer(); -QBasicTimer* new_QBasicTimer(const QBasicTimer& other) { -QBasicTimer* a = new QBasicTimer(); -*((QBasicTimer*)a) = other; -return a; } -void delete_QBasicTimer(QBasicTimer* obj) { delete obj; } - bool isActive(QBasicTimer* theWrappedObject) const; - void start(QBasicTimer* theWrappedObject, int msec, QObject* obj); - void start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj); - void stop(QBasicTimer* theWrappedObject); - 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) {}; - - ~PythonQtShell_QBuffer(); - -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 void promoted_connectNotify(const QMetaMethod& arg__1) { QBuffer::connectNotify(arg__1); } -inline void promoted_disconnectNotify(const QMetaMethod& arg__1) { QBuffer::disconnectNotify(arg__1); } -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; - const QByteArray* buffer(QBuffer* theWrappedObject) const; - bool canReadLine(QBuffer* theWrappedObject) const; - void close(QBuffer* theWrappedObject); - void connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1); - const QByteArray* data(QBuffer* theWrappedObject) const; - void disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1); - 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) {}; - - ~PythonQtShell_QChildEvent(); - - - 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 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(enum_1 ) -enum enum_1{ - ApplicationFlags = QCoreApplication::ApplicationFlags}; -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); - QAbstractEventDispatcher* static_QCoreApplication_eventDispatcher(); - int static_QCoreApplication_exec(); - void static_QCoreApplication_exit(int retcode = 0); - void static_QCoreApplication_flush(); - bool static_QCoreApplication_hasPendingEvents(); - bool static_QCoreApplication_installTranslator(QTranslator* messageFile); - QCoreApplication* static_QCoreApplication_instance(); - bool static_QCoreApplication_isQuitLockEnabled(); - 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, PythonQtPassOwnershipToCPP event, int priority = Qt::NormalEventPriority); - 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, int eventType = 0); - bool static_QCoreApplication_removeTranslator(QTranslator* messageFile); - bool static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event); - void static_QCoreApplication_sendPostedEvents(QObject* receiver = 0, int event_type = 0); - 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_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher); - void static_QCoreApplication_setLibraryPaths(const QStringList& arg__1); - void static_QCoreApplication_setOrganizationDomain(const QString& orgDomain); - void static_QCoreApplication_setOrganizationName(const QString& orgName); - void static_QCoreApplication_setQuitLockEnabled(bool enabled); - 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, int n = -1); -}; - - - - - -class PythonQtWrapper_QCryptographicHash : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Algorithm ) -enum Algorithm{ - Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1, Sha224 = QCryptographicHash::Sha224, Sha256 = QCryptographicHash::Sha256, Sha384 = QCryptographicHash::Sha384, Sha512 = QCryptographicHash::Sha512}; -public slots: -QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method); -void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } - bool addData(QCryptographicHash* theWrappedObject, QIODevice* device); - void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); - QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); - void reset(QCryptographicHash* theWrappedObject); - QByteArray result(QCryptographicHash* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QDataStream : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ByteOrder FloatingPointPrecision Status Version ) -enum ByteOrder{ - BigEndian = QDataStream::BigEndian, LittleEndian = QDataStream::LittleEndian}; -enum FloatingPointPrecision{ - SinglePrecision = QDataStream::SinglePrecision, DoublePrecision = QDataStream::DoublePrecision}; -enum Status{ - Ok = QDataStream::Ok, ReadPastEnd = QDataStream::ReadPastEnd, ReadCorruptData = QDataStream::ReadCorruptData, WriteFailed = QDataStream::WriteFailed}; -enum Version{ - Qt_1_0 = QDataStream::Qt_1_0, Qt_2_0 = QDataStream::Qt_2_0, Qt_2_1 = QDataStream::Qt_2_1, Qt_3_0 = QDataStream::Qt_3_0, Qt_3_1 = QDataStream::Qt_3_1, Qt_3_3 = QDataStream::Qt_3_3, Qt_4_0 = QDataStream::Qt_4_0, Qt_4_1 = QDataStream::Qt_4_1, Qt_4_2 = QDataStream::Qt_4_2, Qt_4_3 = QDataStream::Qt_4_3, Qt_4_4 = QDataStream::Qt_4_4, Qt_4_5 = QDataStream::Qt_4_5, Qt_4_6 = QDataStream::Qt_4_6, Qt_4_7 = QDataStream::Qt_4_7, Qt_4_8 = QDataStream::Qt_4_8, Qt_4_9 = QDataStream::Qt_4_9, Qt_5_0 = QDataStream::Qt_5_0}; -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; - QDataStream::ByteOrder byteOrder(QDataStream* theWrappedObject) const; - QIODevice* device(QDataStream* theWrappedObject) const; - QDataStream::FloatingPointPrecision floatingPointPrecision(QDataStream* theWrappedObject) const; - void resetStatus(QDataStream* theWrappedObject); - void setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1); - 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; - - QString readQString(QDataStream* d) { QString r; (*d) >> r; return r; } - QString readString(QDataStream* d) { QString r; (*d) >> r; return r; } - QChar readQChar(QDataStream* d) { QChar r; (*d) >> r; return r; } - QStringList readQStringList(QDataStream* d) { QStringList r; (*d) >> r; return r; } - QVariant readQVariant(QDataStream* d) { QVariant r; (*d) >> r; return r; } - bool readBool(QDataStream* d) { bool r; (*d) >> r; return r; } - qint8 readInt8(QDataStream* d) { qint8 r; (*d) >> r; return r; } - quint8 readUInt8(QDataStream* d) { quint8 r; (*d) >> r; return r; } - qint16 readInt16(QDataStream* d) { qint16 r; (*d) >> r; return r; } - quint16 readUInt16(QDataStream* d) { quint16 r; (*d) >> r; return r; } - qint32 readInt32(QDataStream* d) { qint32 r; (*d) >> r; return r; } - quint32 readUInt32(QDataStream* d) { quint32 r; (*d) >> r; return r; } - qint64 readInt64(QDataStream* d) { qint64 r; (*d) >> r; return r; } - quint64 readUInt64(QDataStream* d) { quint64 r; (*d) >> r; return r; } - float readFloat(QDataStream* d) { float r; (*d) >> r; return r; } - double readDouble(QDataStream* d) { double r; (*d) >> r; return r; } - - void writeQString(QDataStream* d, const QString& v) { (*d) << v; } - void writeString(QDataStream* d, const QString& v) { (*d) << v; } - void writeQChar(QDataStream* d, const QChar& v) { (*d) << v; } - void writeQStringList(QDataStream* d, const QStringList& v) { (*d) << v; } - void writeQVariant(QDataStream* d, const QVariant& v) { (*d) << v; } - void writeBool(QDataStream* d, bool v) { (*d) << v; } - void writeInt8(QDataStream* d, qint8 v) { (*d) << v; } - void writeUInt8(QDataStream* d, quint8 v) { (*d) << v; } - void writeInt16(QDataStream* d, qint16 v) { (*d) << v; } - void writeUInt16(QDataStream* d, quint16 v) { (*d) << v; } - void writeInt32(QDataStream* d, qint32 v) { (*d) << v; } - void writeUInt32(QDataStream* d, quint32 v) { (*d) << v; } - void writeInt64(QDataStream* d, qint64 v) { (*d) << v; } - void writeUInt64(QDataStream* d, quint64 v) { (*d) << v; } - void writeFloat(QDataStream* d, float v) { (*d) << v; } - void writeDouble(QDataStream* d, double v) { (*d) << v; } - - int writeRawData(QDataStream* d, PyObject* o) { - bool ok; - QByteArray r = PythonQtConv::PyObjGetBytes(o, false, ok); - return (*d).writeRawData(r.constData(), r.size()); - } - - PyObject* readRawData(QDataStream* d, int len) { - QByteArray r; - r.resize(len); - int result = d->readRawData(r.data(), r.size()); - if (result>=0) { - return PyBytes_FromStringAndSize(r.data(), result); - } else { - Py_INCREF(Py_None); - return Py_None; - } - } - -}; - - - - - -class PythonQtWrapper_QDir : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Filter SortFlag ) -Q_FLAGS(Filters SortFlags ) -enum Filter{ - Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks, AllEntries = QDir::AllEntries, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable, Executable = QDir::Executable, PermissionMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden, System = QDir::System, AccessMask = QDir::AccessMask, AllDirs = QDir::AllDirs, CaseSensitive = QDir::CaseSensitive, NoDot = QDir::NoDot, NoDotDot = QDir::NoDotDot, NoDotAndDotDot = QDir::NoDotAndDotDot, NoFilter = QDir::NoFilter}; -enum SortFlag{ - Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted, SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase, DirsLast = QDir::DirsLast, LocaleAware = QDir::LocaleAware, Type = QDir::Type, NoSort = QDir::NoSort}; -Q_DECLARE_FLAGS(Filters, Filter) -Q_DECLARE_FLAGS(SortFlags, SortFlag) -public slots: -QDir* new_QDir(const QDir& arg__1); -QDir* new_QDir(const QString& path = QString()); -QDir* new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort = QDir::SortFlags(Name | IgnoreCase), QDir::Filters filter = QDir::AllEntries); -void delete_QDir(QDir* obj) { delete obj; } - QString absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const; - QString absolutePath(QDir* theWrappedObject) const; - void static_QDir_addSearchPath(const QString& prefix, const QString& path); - QString canonicalPath(QDir* theWrappedObject) const; - bool cd(QDir* theWrappedObject, const QString& dirName); - bool cdUp(QDir* theWrappedObject); - QString static_QDir_cleanPath(const QString& path); - uint count(QDir* theWrappedObject) const; - QDir static_QDir_current(); - QString static_QDir_currentPath(); - QString dirName(QDir* theWrappedObject) const; - QList static_QDir_drives(); - QList entryInfoList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QList entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QStringList entryList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - QStringList entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; - bool exists(QDir* theWrappedObject) const; - bool exists(QDir* theWrappedObject, const QString& name) const; - QString filePath(QDir* theWrappedObject, const QString& fileName) const; - QDir::Filters filter(QDir* theWrappedObject) const; - QString static_QDir_fromNativeSeparators(const QString& pathName); - QDir static_QDir_home(); - QString static_QDir_homePath(); - bool isAbsolute(QDir* theWrappedObject) const; - bool static_QDir_isAbsolutePath(const QString& path); - bool 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 removeRecursively(QDir* theWrappedObject); - bool rename(QDir* theWrappedObject, const QString& oldName, const QString& newName); - bool rmdir(QDir* theWrappedObject, const QString& dirName) const; - bool rmpath(QDir* theWrappedObject, const QString& dirPath) const; - QDir static_QDir_root(); - QString static_QDir_rootPath(); - QStringList static_QDir_searchPaths(const QString& prefix); - QChar static_QDir_separator(); - bool static_QDir_setCurrent(const QString& path); - void setFilter(QDir* theWrappedObject, QDir::Filters filter); - void setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters); - void setPath(QDir* theWrappedObject, const QString& path); - void static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths); - void setSorting(QDir* theWrappedObject, QDir::SortFlags sort); - QDir::SortFlags sorting(QDir* theWrappedObject) const; - void swap(QDir* theWrappedObject, QDir& other); - QDir static_QDir_temp(); - QString static_QDir_tempPath(); - QString static_QDir_toNativeSeparators(const QString& pathName); - QString py_toString(QDir*); -}; - - - - - -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, BezierSpline = QEasingCurve::BezierSpline, TCBSpline = QEasingCurve::TCBSpline, Custom = QEasingCurve::Custom, NCurveTypes = QEasingCurve::NCurveTypes}; -public slots: -QEasingCurve* new_QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear); -QEasingCurve* new_QEasingCurve(const QEasingCurve& other); -void delete_QEasingCurve(QEasingCurve* obj) { delete obj; } - void addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint); - void addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b); - qreal amplitude(QEasingCurve* theWrappedObject) const; - bool __ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; - void writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1); - QEasingCurve* operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other); - bool __eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; - void readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1); - qreal overshoot(QEasingCurve* theWrappedObject) const; - qreal period(QEasingCurve* theWrappedObject) const; - void setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude); - void setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot); - void setPeriod(QEasingCurve* theWrappedObject, qreal period); - void setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type); - void swap(QEasingCurve* theWrappedObject, QEasingCurve& other); - QVector toCubicSpline(QEasingCurve* theWrappedObject) const; - QEasingCurve::Type type(QEasingCurve* theWrappedObject) const; - qreal valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const; - QString py_toString(QEasingCurve*); -}; - - - - - -class PythonQtShell_QElapsedTimer : public QElapsedTimer -{ -public: - PythonQtShell_QElapsedTimer():QElapsedTimer(),_wrapper(NULL) {}; - - ~PythonQtShell_QElapsedTimer(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QElapsedTimer : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ClockType ) -enum ClockType{ - SystemTime = QElapsedTimer::SystemTime, MonotonicClock = QElapsedTimer::MonotonicClock, TickCounter = QElapsedTimer::TickCounter, MachAbsoluteTime = QElapsedTimer::MachAbsoluteTime, PerformanceCounter = QElapsedTimer::PerformanceCounter}; -public slots: -QElapsedTimer* new_QElapsedTimer(); -void delete_QElapsedTimer(QElapsedTimer* obj) { delete obj; } - QElapsedTimer::ClockType static_QElapsedTimer_clockType(); - qint64 elapsed(QElapsedTimer* theWrappedObject) const; - bool hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const; - void invalidate(QElapsedTimer* theWrappedObject); - bool static_QElapsedTimer_isMonotonic(); - bool isValid(QElapsedTimer* theWrappedObject) const; - qint64 msecsSinceReference(QElapsedTimer* theWrappedObject) const; - qint64 msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; - qint64 nsecsElapsed(QElapsedTimer* theWrappedObject) const; - bool __ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; - bool __eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; - qint64 restart(QElapsedTimer* theWrappedObject); - qint64 secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; - void start(QElapsedTimer* theWrappedObject); -}; - - - - - -class PythonQtShell_QEvent : public QEvent -{ -public: - PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; - PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(NULL) {}; - - ~PythonQtShell_QEvent(); - - - 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, FocusAboutToChange = QEvent::FocusAboutToChange, 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, 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, AcceptDropsChange = QEvent::AcceptDropsChange, 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, 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, WinIdChange = QEvent::WinIdChange, Gesture = QEvent::Gesture, GestureOverride = QEvent::GestureOverride, ScrollPrepare = QEvent::ScrollPrepare, Scroll = QEvent::Scroll, Expose = QEvent::Expose, InputMethodQuery = QEvent::InputMethodQuery, OrientationChange = QEvent::OrientationChange, TouchCancel = QEvent::TouchCancel, ThemeChange = QEvent::ThemeChange, SockClose = QEvent::SockClose, PlatformPanel = QEvent::PlatformPanel, StyleAnimationUpdate = QEvent::StyleAnimationUpdate, User = QEvent::User, MaxUser = QEvent::MaxUser}; -public slots: -QEvent* new_QEvent(QEvent::Type type); -QEvent* new_QEvent(const QEvent& other); -void delete_QEvent(QEvent* obj) { delete obj; } - void accept(QEvent* theWrappedObject); - void ignore(QEvent* theWrappedObject); - bool isAccepted(QEvent* theWrappedObject) const; - QEvent* operator_assign(QEvent* theWrappedObject, const QEvent& other); - int static_QEvent_registerEventType(int hint = -1); - void setAccepted(QEvent* theWrappedObject, bool accepted); - bool spontaneous(QEvent* theWrappedObject) const; - QEvent::Type type(QEvent* theWrappedObject) const; - QString py_toString(QEvent*); -}; - - - - - -class PythonQtShell_QEventLoop : public QEventLoop -{ -public: - PythonQtShell_QEventLoop(QObject* parent = 0):QEventLoop(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QEventLoop(); - -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_QEventLoop : public QEventLoop -{ public: -inline bool promoted_event(QEvent* event) { return QEventLoop::event(event); } -}; - -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, 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; } - bool event(QEventLoop* theWrappedObject, QEvent* event); - 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) {}; - - ~PythonQtShell_QEventTransition(); - -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) {}; - - ~PythonQtShell_QFactoryInterface(); - -virtual QStringList keys() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFactoryInterface : public QFactoryInterface -{ public: -inline QStringList promoted_keys() const { return this->keys(); } -}; - -class PythonQtWrapper_QFactoryInterface : public QObject -{ Q_OBJECT -public: -public slots: -QFactoryInterface* new_QFactoryInterface(); -void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } - QStringList keys(QFactoryInterface* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QFile : public QFile -{ -public: - PythonQtShell_QFile():QFile(),_wrapper(NULL) {}; - PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void 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 QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual 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 QString promoted_fileName() const { return QFile::fileName(); } -inline bool promoted_open(QIODevice::OpenMode flags) { return QFile::open(flags); } -inline QFileDevice::Permissions promoted_permissions() const { return QFile::permissions(); } -inline bool promoted_resize(qint64 sz) { return QFile::resize(sz); } -inline bool promoted_setPermissions(QFileDevice::Permissions permissionSpec) { return QFile::setPermissions(permissionSpec); } -inline qint64 promoted_size() const { return QFile::size(); } -}; - -class PythonQtWrapper_QFile : public QObject -{ Q_OBJECT -public: -public slots: -QFile* new_QFile(); -QFile* new_QFile(QObject* parent); -QFile* new_QFile(const QString& name); -QFile* new_QFile(const QString& name, QObject* parent); -void delete_QFile(QFile* obj) { delete obj; } - bool static_QFile_copy(const QString& fileName, const QString& newName); - bool copy(QFile* theWrappedObject, const QString& newName); - QString static_QFile_decodeName(const QByteArray& localFileName); - QByteArray static_QFile_encodeName(const QString& fileName); - bool exists(QFile* theWrappedObject) const; - bool static_QFile_exists(const QString& fileName); - QString fileName(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); - bool open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags = QFileDevice::DontCloseHandle); - QFileDevice::Permissions permissions(QFile* theWrappedObject) const; - QFileDevice::Permissions static_QFile_permissions(const QString& filename); - bool remove(QFile* theWrappedObject); - bool static_QFile_remove(const QString& fileName); - bool rename(QFile* theWrappedObject, const QString& newName); - bool static_QFile_rename(const QString& oldName, const QString& newName); - bool static_QFile_resize(const QString& filename, qint64 sz); - bool resize(QFile* theWrappedObject, qint64 sz); - void setFileName(QFile* theWrappedObject, const QString& name); - bool setPermissions(QFile* theWrappedObject, QFileDevice::Permissions permissionSpec); - bool static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec); - qint64 size(QFile* theWrappedObject) const; - QString symLinkTarget(QFile* theWrappedObject) const; - QString static_QFile_symLinkTarget(const QString& fileName); -}; - - - - - -class PythonQtShell_QFileDevice : public QFileDevice -{ -public: - PythonQtShell_QFileDevice():QFileDevice(),_wrapper(NULL) {}; - PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void 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 QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual 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_QFileDevice : public QFileDevice -{ public: -inline bool promoted_atEnd() const { return QFileDevice::atEnd(); } -inline void promoted_close() { QFileDevice::close(); } -inline QString promoted_fileName() const { return QFileDevice::fileName(); } -inline bool promoted_isSequential() const { return QFileDevice::isSequential(); } -inline QFileDevice::Permissions promoted_permissions() const { return QFileDevice::permissions(); } -inline qint64 promoted_pos() const { return QFileDevice::pos(); } -inline qint64 promoted_readData(char* data, qint64 maxlen) { return QFileDevice::readData(data, maxlen); } -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QFileDevice::readLineData(data, maxlen); } -inline bool promoted_resize(qint64 sz) { return QFileDevice::resize(sz); } -inline bool promoted_seek(qint64 offset) { return QFileDevice::seek(offset); } -inline bool promoted_setPermissions(QFileDevice::Permissions permissionSpec) { return QFileDevice::setPermissions(permissionSpec); } -inline qint64 promoted_size() const { return QFileDevice::size(); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return QFileDevice::writeData(data, len); } -}; - -class PythonQtWrapper_QFileDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FileError FileHandleFlag MemoryMapFlags Permission ) -Q_FLAGS(FileHandleFlags Permissions ) -enum FileError{ - NoError = QFileDevice::NoError, ReadError = QFileDevice::ReadError, WriteError = QFileDevice::WriteError, FatalError = QFileDevice::FatalError, ResourceError = QFileDevice::ResourceError, OpenError = QFileDevice::OpenError, AbortError = QFileDevice::AbortError, TimeOutError = QFileDevice::TimeOutError, UnspecifiedError = QFileDevice::UnspecifiedError, RemoveError = QFileDevice::RemoveError, RenameError = QFileDevice::RenameError, PositionError = QFileDevice::PositionError, ResizeError = QFileDevice::ResizeError, PermissionsError = QFileDevice::PermissionsError, CopyError = QFileDevice::CopyError}; -enum FileHandleFlag{ - AutoCloseHandle = QFileDevice::AutoCloseHandle, DontCloseHandle = QFileDevice::DontCloseHandle}; -enum MemoryMapFlags{ - NoOptions = QFileDevice::NoOptions}; -enum Permission{ - ReadOwner = QFileDevice::ReadOwner, WriteOwner = QFileDevice::WriteOwner, ExeOwner = QFileDevice::ExeOwner, ReadUser = QFileDevice::ReadUser, WriteUser = QFileDevice::WriteUser, ExeUser = QFileDevice::ExeUser, ReadGroup = QFileDevice::ReadGroup, WriteGroup = QFileDevice::WriteGroup, ExeGroup = QFileDevice::ExeGroup, ReadOther = QFileDevice::ReadOther, WriteOther = QFileDevice::WriteOther, ExeOther = QFileDevice::ExeOther}; -Q_DECLARE_FLAGS(FileHandleFlags, FileHandleFlag) -Q_DECLARE_FLAGS(Permissions, Permission) -public slots: -QFileDevice* new_QFileDevice(); -QFileDevice* new_QFileDevice(QObject* parent); -void delete_QFileDevice(QFileDevice* obj) { delete obj; } - bool atEnd(QFileDevice* theWrappedObject) const; - void close(QFileDevice* theWrappedObject); - QFileDevice::FileError error(QFileDevice* theWrappedObject) const; - QString fileName(QFileDevice* theWrappedObject) const; - bool flush(QFileDevice* theWrappedObject); - int handle(QFileDevice* theWrappedObject) const; - bool isSequential(QFileDevice* theWrappedObject) const; - uchar* map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions); - QFileDevice::Permissions permissions(QFileDevice* theWrappedObject) const; - qint64 pos(QFileDevice* theWrappedObject) const; - qint64 readData(QFileDevice* theWrappedObject, char* data, qint64 maxlen); - qint64 readLineData(QFileDevice* theWrappedObject, char* data, qint64 maxlen); - bool resize(QFileDevice* theWrappedObject, qint64 sz); - bool seek(QFileDevice* theWrappedObject, qint64 offset); - bool setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec); - qint64 size(QFileDevice* theWrappedObject) const; - bool unmap(QFileDevice* theWrappedObject, uchar* address); - void unsetError(QFileDevice* theWrappedObject); - qint64 writeData(QFileDevice* 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 isNativePath(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); - QString owner(QFileInfo* theWrappedObject) const; - uint ownerId(QFileInfo* theWrappedObject) const; - QString path(QFileInfo* theWrappedObject) const; - bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const; - QFile::Permissions permissions(QFileInfo* theWrappedObject) const; - void refresh(QFileInfo* theWrappedObject); - void setCaching(QFileInfo* theWrappedObject, bool on); - void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file); - void setFile(QFileInfo* theWrappedObject, const QFile& file); - void setFile(QFileInfo* theWrappedObject, const QString& file); - qint64 size(QFileInfo* theWrappedObject) const; - QString suffix(QFileInfo* theWrappedObject) const; - void swap(QFileInfo* theWrappedObject, QFileInfo& other); - QString symLinkTarget(QFileInfo* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QFileSystemWatcher(); - -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; } - bool addPath(QFileSystemWatcher* theWrappedObject, const QString& file); - QStringList addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); - QStringList directories(QFileSystemWatcher* theWrappedObject) const; - QStringList files(QFileSystemWatcher* theWrappedObject) const; - bool removePath(QFileSystemWatcher* theWrappedObject, const QString& file); - QStringList removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); -}; - - - - - -class PythonQtShell_QFinalState : public QFinalState -{ -public: - PythonQtShell_QFinalState(QState* parent = 0):QFinalState(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFinalState(); - -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) {}; - - ~PythonQtShell_QHistoryState(); - -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) {}; - - ~PythonQtShell_QIODevice(); - -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_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -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 void promoted_setErrorString(const QString& errorString) { QIODevice::setErrorString(errorString); } -inline void promoted_setOpenMode(QIODevice::OpenMode openMode) { QIODevice::setOpenMode(openMode); } -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); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -}; - -class PythonQtWrapper_QIODevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OpenModeFlag ) -Q_FLAGS(OpenMode ) -enum OpenModeFlag{ - NotOpen = QIODevice::NotOpen, ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append, Truncate = QIODevice::Truncate, Text = QIODevice::Text, Unbuffered = QIODevice::Unbuffered}; -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); - qint64 readData(QIODevice* theWrappedObject, char* data, qint64 maxlen); - 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 setErrorString(QIODevice* theWrappedObject, const QString& errorString); - void setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode); - 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); - qint64 writeData(QIODevice* theWrappedObject, const char* data, qint64 len); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp deleted file mode 100644 index 34f529064..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ /dev/null @@ -1,5543 +0,0 @@ -#include "com_trolltech_qt_core1.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::buddy(index0); -} -bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::canFetchMore(parent0); -} -void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::childEvent(arg__1); -} -int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::columnCount(parent0); -} -void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::customEvent(arg__1); -} -QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::data(proxyIndex0, role1); -} -bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QIdentityProxyModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::event(arg__1); -} -bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::flags(index0); -} -bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::hasChildren(parent0); -} -QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::index(row0, column1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::itemData(index0); -} -QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&sourceIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mapFromSource(sourceIndex0); -} -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapSelectionFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mapSelectionFromSource(selection0); -} -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapSelectionToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mapSelectionToSource(selection0); -} -QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&proxyIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mapToSource(proxyIndex0); -} -QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mimeData(indexes0); -} -QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::mimeTypes(); -} -bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::parent(child0); -} -bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QIdentityProxyModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::revert(); -} -QHash PythonQtShell_QIdentityProxyModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::roleNames(); -} -int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::rowCount(parent0); -} -bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::setData(index0, value1, role2); -} -bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::setItemData(index0, roles1); -} -void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSourceModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::setSourceModel(sourceModel0); -} -QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::sort(column0, order1); -} -QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::span(index0); -} -bool PythonQtShell_QIdentityProxyModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::submit(); -} -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIdentityProxyModel::supportedDropActions(); -} -void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIdentityProxyModel::timerEvent(arg__1); -} -QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) -{ -return new PythonQtShell_QIdentityProxyModel(parent); } - -int PythonQtWrapper_QIdentityProxyModel::columnCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -bool PythonQtWrapper_QIdentityProxyModel::dropMimeData(QIdentityProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -QVariant PythonQtWrapper_QIdentityProxyModel::headerData(QIdentityProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QModelIndex PythonQtWrapper_QIdentityProxyModel::index(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - -bool PythonQtWrapper_QIdentityProxyModel::insertColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_insertColumns(column, count, parent)); -} - -bool PythonQtWrapper_QIdentityProxyModel::insertRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_insertRows(row, count, parent)); -} - -QModelIndex PythonQtWrapper_QIdentityProxyModel::mapFromSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_mapFromSource(sourceIndex)); -} - -QItemSelection PythonQtWrapper_QIdentityProxyModel::mapSelectionFromSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_mapSelectionFromSource(selection)); -} - -QItemSelection PythonQtWrapper_QIdentityProxyModel::mapSelectionToSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_mapSelectionToSource(selection)); -} - -QModelIndex PythonQtWrapper_QIdentityProxyModel::mapToSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_mapToSource(proxyIndex)); -} - -QList PythonQtWrapper_QIdentityProxyModel::match(QIdentityProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_match(start, role, value, hits, flags)); -} - -QModelIndex PythonQtWrapper_QIdentityProxyModel::parent(QIdentityProxyModel* theWrappedObject, const QModelIndex& child) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_parent(child)); -} - -bool PythonQtWrapper_QIdentityProxyModel::removeColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_removeColumns(column, count, parent)); -} - -bool PythonQtWrapper_QIdentityProxyModel::removeRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_removeRows(row, count, parent)); -} - -int PythonQtWrapper_QIdentityProxyModel::rowCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -void PythonQtWrapper_QIdentityProxyModel::setSourceModel(QIdentityProxyModel* theWrappedObject, QAbstractItemModel* sourceModel) -{ - ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_setSourceModel(sourceModel)); -} - -QModelIndex PythonQtWrapper_QIdentityProxyModel::sibling(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const -{ - return ( ((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->promoted_sibling(row, column, idx)); -} - - - -QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray() -{ -return new QJsonArray(); } - -QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray(const QJsonArray& other) -{ -return new QJsonArray(other); } - -void PythonQtWrapper_QJsonArray::append(QJsonArray* theWrappedObject, const QJsonValue& value) -{ - ( theWrappedObject->append(value)); -} - -QJsonValue PythonQtWrapper_QJsonArray::at(QJsonArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->at(i)); -} - -bool PythonQtWrapper_QJsonArray::contains(QJsonArray* theWrappedObject, const QJsonValue& element) const -{ - return ( theWrappedObject->contains(element)); -} - -int PythonQtWrapper_QJsonArray::count(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QJsonArray::empty(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -QJsonValue PythonQtWrapper_QJsonArray::first(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->first()); -} - -QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromStringList(const QStringList& list) -{ - return (QJsonArray::fromStringList(list)); -} - -QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromVariantList(const QList& list) -{ - return (QJsonArray::fromVariantList(list)); -} - -void PythonQtWrapper_QJsonArray::insert(QJsonArray* theWrappedObject, int i, const QJsonValue& value) -{ - ( theWrappedObject->insert(i, value)); -} - -bool PythonQtWrapper_QJsonArray::isEmpty(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QJsonValue PythonQtWrapper_QJsonArray::last(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->last()); -} - -bool PythonQtWrapper_QJsonArray::__ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QJsonArray* PythonQtWrapper_QJsonArray::operator_assign(QJsonArray* theWrappedObject, const QJsonArray& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QJsonArray::__eq__(QJsonArray* theWrappedObject, const QJsonArray& other) const -{ - return ( (*theWrappedObject)== other); -} - -QJsonValue PythonQtWrapper_QJsonArray::operator_subscript(QJsonArray* theWrappedObject, int i) const -{ - return ( (*theWrappedObject)[i]); -} - -void PythonQtWrapper_QJsonArray::pop_back(QJsonArray* theWrappedObject) -{ - ( theWrappedObject->pop_back()); -} - -void PythonQtWrapper_QJsonArray::pop_front(QJsonArray* theWrappedObject) -{ - ( theWrappedObject->pop_front()); -} - -void PythonQtWrapper_QJsonArray::prepend(QJsonArray* theWrappedObject, const QJsonValue& value) -{ - ( theWrappedObject->prepend(value)); -} - -void PythonQtWrapper_QJsonArray::push_back(QJsonArray* theWrappedObject, const QJsonValue& t) -{ - ( theWrappedObject->push_back(t)); -} - -void PythonQtWrapper_QJsonArray::push_front(QJsonArray* theWrappedObject, const QJsonValue& t) -{ - ( theWrappedObject->push_front(t)); -} - -void PythonQtWrapper_QJsonArray::removeAt(QJsonArray* theWrappedObject, int i) -{ - ( theWrappedObject->removeAt(i)); -} - -void PythonQtWrapper_QJsonArray::removeFirst(QJsonArray* theWrappedObject) -{ - ( theWrappedObject->removeFirst()); -} - -void PythonQtWrapper_QJsonArray::removeLast(QJsonArray* theWrappedObject) -{ - ( theWrappedObject->removeLast()); -} - -void PythonQtWrapper_QJsonArray::replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value) -{ - ( theWrappedObject->replace(i, value)); -} - -int PythonQtWrapper_QJsonArray::size(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QJsonValue PythonQtWrapper_QJsonArray::takeAt(QJsonArray* theWrappedObject, int i) -{ - return ( theWrappedObject->takeAt(i)); -} - -QList PythonQtWrapper_QJsonArray::toVariantList(QJsonArray* theWrappedObject) const -{ - return ( theWrappedObject->toVariantList()); -} - -QString PythonQtWrapper_QJsonArray::py_toString(QJsonArray* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QJsonDocument::~PythonQtShell_QJsonDocument() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument() -{ -return new PythonQtShell_QJsonDocument(); } - -QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonArray& array) -{ -return new PythonQtShell_QJsonDocument(array); } - -QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonDocument& other) -{ -return new PythonQtShell_QJsonDocument(other); } - -QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonObject& object) -{ -return new PythonQtShell_QJsonDocument(object); } - -QJsonArray PythonQtWrapper_QJsonDocument::array(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->array()); -} - -QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation) -{ - return (QJsonDocument::fromBinaryData(data, validation)); -} - -QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error) -{ - return (QJsonDocument::fromJson(json, error)); -} - -QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation) -{ - return (QJsonDocument::fromRawData(data, size, validation)); -} - -QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromVariant(const QVariant& variant) -{ - return (QJsonDocument::fromVariant(variant)); -} - -bool PythonQtWrapper_QJsonDocument::isArray(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->isArray()); -} - -bool PythonQtWrapper_QJsonDocument::isEmpty(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QJsonDocument::isNull(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QJsonDocument::isObject(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->isObject()); -} - -QJsonObject PythonQtWrapper_QJsonDocument::object(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->object()); -} - -bool PythonQtWrapper_QJsonDocument::__ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QJsonDocument* PythonQtWrapper_QJsonDocument::operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QJsonDocument::__eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const -{ - return ( (*theWrappedObject)== other); -} - -const char* PythonQtWrapper_QJsonDocument::rawData(QJsonDocument* theWrappedObject, int* size) const -{ - return ( theWrappedObject->rawData(size)); -} - -void PythonQtWrapper_QJsonDocument::setArray(QJsonDocument* theWrappedObject, const QJsonArray& array) -{ - ( theWrappedObject->setArray(array)); -} - -void PythonQtWrapper_QJsonDocument::setObject(QJsonDocument* theWrappedObject, const QJsonObject& object) -{ - ( theWrappedObject->setObject(object)); -} - -QByteArray PythonQtWrapper_QJsonDocument::toBinaryData(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->toBinaryData()); -} - -QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->toJson()); -} - -QVariant PythonQtWrapper_QJsonDocument::toVariant(QJsonDocument* theWrappedObject) const -{ - return ( theWrappedObject->toVariant()); -} - -QString PythonQtWrapper_QJsonDocument::py_toString(QJsonDocument* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject() -{ -return new QJsonObject(); } - -QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject(const QJsonObject& other) -{ -return new QJsonObject(other); } - -bool PythonQtWrapper_QJsonObject::contains(QJsonObject* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->contains(key)); -} - -int PythonQtWrapper_QJsonObject::count(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QJsonObject::empty(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantMap(const QMap& map) -{ - return (QJsonObject::fromVariantMap(map)); -} - -bool PythonQtWrapper_QJsonObject::isEmpty(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QStringList PythonQtWrapper_QJsonObject::keys(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->keys()); -} - -int PythonQtWrapper_QJsonObject::length(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -bool PythonQtWrapper_QJsonObject::__ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QJsonObject* PythonQtWrapper_QJsonObject::operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QJsonObject::__eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const -{ - return ( (*theWrappedObject)== other); -} - -QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, const QString& key) const -{ - return ( (*theWrappedObject)[key]); -} - -void PythonQtWrapper_QJsonObject::remove(QJsonObject* theWrappedObject, const QString& key) -{ - ( theWrappedObject->remove(key)); -} - -int PythonQtWrapper_QJsonObject::size(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QJsonValue PythonQtWrapper_QJsonObject::take(QJsonObject* theWrappedObject, const QString& key) -{ - return ( theWrappedObject->take(key)); -} - -QMap PythonQtWrapper_QJsonObject::toVariantMap(QJsonObject* theWrappedObject) const -{ - return ( theWrappedObject->toVariantMap()); -} - -QJsonValue PythonQtWrapper_QJsonObject::value(QJsonObject* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->value(key)); -} - -QString PythonQtWrapper_QJsonObject::py_toString(QJsonObject* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() -{ -return new PythonQtShell_QJsonParseError(); } - -QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - - - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(QJsonValue::Type arg__1) -{ -return new QJsonValue(arg__1); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(QLatin1String s) -{ -return new QJsonValue(s); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(bool b) -{ -return new QJsonValue(b); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonArray& a) -{ -return new QJsonValue(a); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonObject& o) -{ -return new QJsonValue(o); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonValue& other) -{ -return new QJsonValue(other); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QString& s) -{ -return new QJsonValue(s); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(double n) -{ -return new QJsonValue(n); } - -QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(int n) -{ -return new QJsonValue(n); } - -QJsonValue PythonQtWrapper_QJsonValue::static_QJsonValue_fromVariant(const QVariant& variant) -{ - return (QJsonValue::fromVariant(variant)); -} - -bool PythonQtWrapper_QJsonValue::isArray(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isArray()); -} - -bool PythonQtWrapper_QJsonValue::isBool(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isBool()); -} - -bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isDouble()); -} - -bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isObject()); -} - -bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isString()); -} - -bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isUndefined()); -} - -bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const -{ - return ( (*theWrappedObject)== other); -} - -QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toArray()); -} - -QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const -{ - return ( theWrappedObject->toArray(defaultValue)); -} - -bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const -{ - return ( theWrappedObject->toBool(defaultValue)); -} - -double PythonQtWrapper_QJsonValue::toDouble(QJsonValue* theWrappedObject, double defaultValue) const -{ - return ( theWrappedObject->toDouble(defaultValue)); -} - -QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toObject()); -} - -QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const -{ - return ( theWrappedObject->toObject(defaultValue)); -} - -QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject, const QString& defaultValue) const -{ - return ( theWrappedObject->toString(defaultValue)); -} - -QVariant PythonQtWrapper_QJsonValue::toVariant(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toVariant()); -} - -QJsonValue::Type PythonQtWrapper_QJsonValue::type(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QJsonValue::py_toString(QJsonValue* obj) { return obj->toString(); } - - -PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLibrary::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLibrary::childEvent(arg__1); -} -void PythonQtShell_QLibrary::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLibrary::customEvent(arg__1); -} -bool PythonQtShell_QLibrary::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLibrary::event(arg__1); -} -bool PythonQtShell_QLibrary::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLibrary::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLibrary::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLibrary::timerEvent(arg__1); -} -QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(QObject* parent) -{ -return new PythonQtShell_QLibrary(parent); } - -QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, QObject* parent) -{ -return new PythonQtShell_QLibrary(fileName, parent); } - -QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, const QString& version, QObject* parent) -{ -return new PythonQtShell_QLibrary(fileName, version, parent); } - -QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, int verNum, QObject* parent) -{ -return new PythonQtShell_QLibrary(fileName, verNum, parent); } - -QString PythonQtWrapper_QLibrary::errorString(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QLibrary::fileName(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QLibrary::static_QLibrary_isLibrary(const QString& fileName) -{ - return (QLibrary::isLibrary(fileName)); -} - -bool PythonQtWrapper_QLibrary::isLoaded(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->isLoaded()); -} - -bool PythonQtWrapper_QLibrary::load(QLibrary* theWrappedObject) -{ - return ( theWrappedObject->load()); -} - -QLibrary::LoadHints PythonQtWrapper_QLibrary::loadHints(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->loadHints()); -} - -void PythonQtWrapper_QLibrary::setFileName(QLibrary* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version) -{ - ( theWrappedObject->setFileNameAndVersion(fileName, version)); -} - -void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum) -{ - ( theWrappedObject->setFileNameAndVersion(fileName, verNum)); -} - -void PythonQtWrapper_QLibrary::setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints) -{ - ( theWrappedObject->setLoadHints(hints)); -} - -bool PythonQtWrapper_QLibrary::unload(QLibrary* theWrappedObject) -{ - return ( theWrappedObject->unload()); -} - - - -QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() -{ - return (QLibraryInfo::buildDate()); -} - -bool PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_isDebugBuild() -{ - return (QLibraryInfo::isDebugBuild()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() -{ - return (QLibraryInfo::licensedProducts()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() -{ - return (QLibraryInfo::licensee()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) -{ - return (QLibraryInfo::location(arg__1)); -} - - - -PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() -{ -return new PythonQtShell_QMessageLogContext(); } - -QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName) -{ -return new PythonQtShell_QMessageLogContext(fileName, lineNumber, functionName, categoryName); } - - - -QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger() -{ -return new QMessageLogger(); } - -QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function) -{ -return new QMessageLogger(file, line, function); } - -QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function, const char* category) -{ -return new QMessageLogger(file, line, function, category); } - -void PythonQtWrapper_QMessageLogger::critical(QMessageLogger* theWrappedObject, const char* msg) const -{ - ( theWrappedObject->critical(msg)); -} - -void PythonQtWrapper_QMessageLogger::debug(QMessageLogger* theWrappedObject, const char* msg) const -{ - ( theWrappedObject->debug(msg)); -} - -void PythonQtWrapper_QMessageLogger::fatal(QMessageLogger* theWrappedObject, const char* msg) const -{ - ( theWrappedObject->fatal(msg)); -} - -void PythonQtWrapper_QMessageLogger::noDebug(QMessageLogger* theWrappedObject, const char* arg__1) const -{ - ( theWrappedObject->noDebug(arg__1)); -} - -void PythonQtWrapper_QMessageLogger::warning(QMessageLogger* theWrappedObject, const char* msg) const -{ - ( theWrappedObject->warning(msg)); -} - - - -QMetaClassInfo* PythonQtWrapper_QMetaClassInfo::new_QMetaClassInfo() -{ -return new QMetaClassInfo(); } - -const QMetaObject* PythonQtWrapper_QMetaClassInfo::enclosingMetaObject(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - - - -QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() -{ -return new QMetaEnum(); } - -const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->isFlag()); -} - -bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const -{ - return ( theWrappedObject->key(index)); -} - -int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->keyCount()); -} - -int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const -{ - return ( theWrappedObject->keyToValue(key, ok)); -} - -int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const -{ - return ( theWrappedObject->keysToValue(keys, ok)); -} - -const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->scope()); -} - -int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const -{ - return ( theWrappedObject->value(index)); -} - -const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKey(value)); -} - -QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKeys(value)); -} - - - -QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() -{ -return new QMetaMethod(); } - -QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->access()); -} - -int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); -} - -const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const -{ - ( theWrappedObject->getParameterTypes(types)); -} - -bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodIndex()); -} - -QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodSignature()); -} - -QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodType()); -} - -QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) -{ - return ( (*theWrappedObject)== m2); -} - -int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterCount()); -} - -QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterNames()); -} - -int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const -{ - return ( theWrappedObject->parameterType(index)); -} - -QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterTypes()); -} - -int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->returnType()); -} - -int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->tag()); -} - -const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->typeName()); -} - - - -QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() -{ -return new QMetaProperty(); } - -const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->enumerator()); -} - -bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->hasNotifySignal()); -} - -bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->hasStdCppSet()); -} - -bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isConstant()); -} - -bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isDesignable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isEditable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isEnumType()); -} - -bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isFinal()); -} - -bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isFlagType()); -} - -bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isResettable()); -} - -bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isScriptable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isStored(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isUser(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->notifySignal()); -} - -int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->notifySignalIndex()); -} - -int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->propertyIndex()); -} - -QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->read(obj)); -} - -bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const -{ - return ( theWrappedObject->reset(obj)); -} - -int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->typeName()); -} - -int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->userType()); -} - -bool PythonQtWrapper_QMetaProperty::write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const -{ - return ( theWrappedObject->write(obj, value)); -} - - - -QMetaType* PythonQtWrapper_QMetaType::new_QMetaType(const int type) -{ -return new QMetaType(type); } - -void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) -{ - return (QMetaType::construct(type, where, copy)); -} - -void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const -{ - return ( theWrappedObject->construct(where, copy)); -} - -void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const -{ - return ( theWrappedObject->create(copy)); -} - -void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) -{ - return (QMetaType::create(type, copy)); -} - -void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) -{ - (QMetaType::destroy(type, data)); -} - -void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const -{ - ( theWrappedObject->destroy(data)); -} - -void PythonQtWrapper_QMetaType::static_QMetaType_destruct(int type, void* where) -{ - (QMetaType::destruct(type, where)); -} - -void PythonQtWrapper_QMetaType::destruct(QMetaType* theWrappedObject, void* data) const -{ - ( theWrappedObject->destruct(data)); -} - -QMetaType::TypeFlags PythonQtWrapper_QMetaType::flags(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -bool PythonQtWrapper_QMetaType::isRegistered(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->isRegistered()); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) -{ - return (QMetaType::isRegistered(type)); -} - -bool PythonQtWrapper_QMetaType::isValid(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) -{ - return (QMetaType::load(stream, type, data)); -} - -const QMetaObject* PythonQtWrapper_QMetaType::metaObject(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->metaObject()); -} - -const QMetaObject* PythonQtWrapper_QMetaType::static_QMetaType_metaObjectForType(int type) -{ - return (QMetaType::metaObjectForType(type)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId) -{ - return (QMetaType::registerNormalizedTypedef(normalizedTypeName, aliasId)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) -{ - return (QMetaType::registerTypedef(typeName, aliasId)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) -{ - return (QMetaType::save(stream, type, data)); -} - -int PythonQtWrapper_QMetaType::sizeOf(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->sizeOf()); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_sizeOf(int type) -{ - return (QMetaType::sizeOf(type)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) -{ - return (QMetaType::type(typeName)); -} - -QMetaType::TypeFlags PythonQtWrapper_QMetaType::static_QMetaType_typeFlags(int type) -{ - return (QMetaType::typeFlags(type)); -} - -const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) -{ - return (QMetaType::typeName(type)); -} - - - -PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QMimeData::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMimeData::childEvent(arg__1); -} -void PythonQtShell_QMimeData::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMimeData::customEvent(arg__1); -} -bool PythonQtShell_QMimeData::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMimeData::event(arg__1); -} -bool PythonQtShell_QMimeData::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMimeData::eventFilter(arg__1, arg__2); -} -QStringList PythonQtShell_QMimeData::formats() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("formats"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMimeData::formats(); -} -bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasFormat"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mimetype0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMimeData::hasFormat(mimetype0); -} -QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("retrieveData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&mimetype0, (void*)&preferredType1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMimeData::retrieveData(mimetype0, preferredType1); -} -void PythonQtShell_QMimeData::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() -{ -return new QMimeDatabase(); } - -QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const -{ - return ( theWrappedObject->allMimeTypes()); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const -{ - return ( theWrappedObject->mimeTypeForData(device)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const -{ - return ( theWrappedObject->mimeTypeForData(data)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode) const -{ - return ( theWrappedObject->mimeTypeForFile(fileInfo, mode)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode) const -{ - return ( theWrappedObject->mimeTypeForFile(fileName, mode)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const -{ - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, device)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const -{ - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, data)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const -{ - return ( theWrappedObject->mimeTypeForName(nameOrAlias)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const -{ - return ( theWrappedObject->mimeTypeForUrl(url)); -} - -QList PythonQtWrapper_QMimeDatabase::mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->mimeTypesForFileName(fileName)); -} - -QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->suffixForFileName(fileName)); -} - - - -QMimeType* PythonQtWrapper_QMimeType::new_QMimeType() -{ -return new QMimeType(); } - -QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) -{ -return new QMimeType(other); } - -QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->aliases()); -} - -QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->allAncestors()); -} - -QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->comment()); -} - -QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->filterString()); -} - -QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->genericIconName()); -} - -QStringList PythonQtWrapper_QMimeType::globPatterns(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->globPatterns()); -} - -QString PythonQtWrapper_QMimeType::iconName(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->iconName()); -} - -bool PythonQtWrapper_QMimeType::inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const -{ - return ( theWrappedObject->inherits(mimeTypeName)); -} - -bool PythonQtWrapper_QMimeType::isDefault(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->isDefault()); -} - -bool PythonQtWrapper_QMimeType::isValid(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QMimeType::name(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -bool PythonQtWrapper_QMimeType::__ne__(QMimeType* theWrappedObject, const QMimeType& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QMimeType::__eq__(QMimeType* theWrappedObject, const QMimeType& other) const -{ - return ( (*theWrappedObject)== other); -} - -QStringList PythonQtWrapper_QMimeType::parentMimeTypes(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->parentMimeTypes()); -} - -QString PythonQtWrapper_QMimeType::preferredSuffix(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->preferredSuffix()); -} - -QStringList PythonQtWrapper_QMimeType::suffixes(QMimeType* theWrappedObject) const -{ - return ( theWrappedObject->suffixes()); -} - -void PythonQtWrapper_QMimeType::swap(QMimeType* theWrappedObject, QMimeType& other) -{ - ( theWrappedObject->swap(other)); -} - - - -QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() -{ -return new QModelIndex(); } - -QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -quintptr PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalId()); -} - -void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalPointer()); -} - -bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)< other); -} - -bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->sibling(row, column)); -} - -QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) -{ -return new QMutex(mode); } - -void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) -{ - ( theWrappedObject->lock()); -} - -bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLock(timeout)); -} - -void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - - - -PythonQtShell_QObject::~PythonQtShell_QObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QObject::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QObject::childEvent(arg__1); -} -void PythonQtShell_QObject::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QObject::customEvent(arg__1); -} -bool PythonQtShell_QObject::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QObject::event(arg__1); -} -bool PythonQtShell_QObject::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QObject::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QObject::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const -{ - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_isSignalConnected(signal)); -} - -bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const -{ - return ( theWrappedObject->isWidgetType()); -} - -bool PythonQtWrapper_QObject::isWindowType(QObject* theWrappedObject) const -{ - return ( theWrappedObject->isWindowType()); -} - -void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) -{ - ( theWrappedObject->killTimer(id)); -} - -void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) -{ - ( theWrappedObject->moveToThread(thread)); -} - -QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const -{ - return ( theWrappedObject->objectName()); -} - -void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* arg__1) -{ - ( theWrappedObject->removeEventFilter(arg__1)); -} - -QObject* PythonQtWrapper_QObject::sender(QObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_sender()); -} - -int PythonQtWrapper_QObject::senderSignalIndex(QObject* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_senderSignalIndex()); -} - -void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setObjectName(name)); -} - -bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const -{ - return ( theWrappedObject->signalsBlocked()); -} - -int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType) -{ - return ( theWrappedObject->startTimer(interval, timerType)); -} - -QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const -{ - return ( theWrappedObject->thread()); -} - -void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - - - -PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::childEvent(arg__1); -} -void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::customEvent(arg__1); -} -int PythonQtShell_QParallelAnimationGroup::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QParallelAnimationGroup::duration(); -} -bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QParallelAnimationGroup::event(event0); -} -bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QParallelAnimationGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::timerEvent(arg__1); -} -void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::updateCurrentTime(currentTime0); -} -void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::updateDirection(direction0); -} -void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QParallelAnimationGroup::updateState(newState0, oldState1); -} -QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) -{ -return new PythonQtShell_QParallelAnimationGroup(parent); } - -int PythonQtWrapper_QParallelAnimationGroup::duration(QParallelAnimationGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_duration()); -} - -bool PythonQtWrapper_QParallelAnimationGroup::event(QParallelAnimationGroup* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QParallelAnimationGroup::updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime) -{ - ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); -} - -void PythonQtWrapper_QParallelAnimationGroup::updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) -{ - ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); -} - -void PythonQtWrapper_QParallelAnimationGroup::updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) -{ - ( ((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); -} - - - -PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::childEvent(arg__1); -} -void PythonQtShell_QPauseAnimation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::customEvent(arg__1); -} -int PythonQtShell_QPauseAnimation::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPauseAnimation::duration(); -} -bool PythonQtShell_QPauseAnimation::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPauseAnimation::event(e0); -} -bool PythonQtShell_QPauseAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPauseAnimation::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::timerEvent(arg__1); -} -void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::updateCurrentTime(arg__1); -} -void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::updateDirection(direction0); -} -void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPauseAnimation::updateState(newState0, oldState1); -} -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) -{ -return new PythonQtShell_QPauseAnimation(parent); } - -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) -{ -return new PythonQtShell_QPauseAnimation(msecs, parent); } - -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)); -} - - - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex() -{ -return new QPersistentModelIndex(); } - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QModelIndex& index) -{ -return new QPersistentModelIndex(index); } - -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QPersistentModelIndex& other) -{ -return new QPersistentModelIndex(other); } - -QModelIndex PythonQtWrapper_QPersistentModelIndex::child(QPersistentModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->child(row, column)); -} - -int PythonQtWrapper_QPersistentModelIndex::column(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -quintptr PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->internalId()); -} - -bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->operator const QModelIndex&()); -} - -bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QPersistentModelIndex::__lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const -{ - return ( (*theWrappedObject)< other); -} - -bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const -{ - return ( (*theWrappedObject)== other); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->sibling(row, column)); -} - -void PythonQtWrapper_QPersistentModelIndex::swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other) -{ - ( theWrappedObject->swap(other)); -} - -QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QProcess::~PythonQtShell_QProcess() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QProcess::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::atEnd(); -} -qint64 PythonQtShell_QProcess::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::bytesAvailable(); -} -qint64 PythonQtShell_QProcess::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::bytesToWrite(); -} -bool PythonQtShell_QProcess::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::canReadLine(); -} -void PythonQtShell_QProcess::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QProcess::childEvent(arg__1); -} -void PythonQtShell_QProcess::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QProcess::close(); -} -void PythonQtShell_QProcess::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QProcess::customEvent(arg__1); -} -bool PythonQtShell_QProcess::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::event(arg__1); -} -bool PythonQtShell_QProcess::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QProcess::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::isSequential(); -} -bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::open(mode0); -} -qint64 PythonQtShell_QProcess::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::pos(); -} -qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::readData(data0, maxlen1); -} -qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::readLineData(data0, maxlen1); -} -bool PythonQtShell_QProcess::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::reset(); -} -bool PythonQtShell_QProcess::seek(qint64 pos0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::seek(pos0); -} -void PythonQtShell_QProcess::setupChildProcess() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupChildProcess"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QProcess::setupChildProcess(); -} -qint64 PythonQtShell_QProcess::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::size(); -} -void PythonQtShell_QProcess::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QProcess::timerEvent(arg__1); -} -bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QProcess::writeData(data0, len1); -} -QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) -{ -return new PythonQtShell_QProcess(parent); } - -QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->arguments()); -} - -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()); -} - -QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->program()); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardError()); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardOutput()); -} - -QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->readChannel()); -} - -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::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) -{ - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); -} - -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& command, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(command, mode)); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(program, arguments, mode)); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& 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 QProcessEnvironment& e) -{ - ( theWrappedObject->insert(e)); -} - -void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) -{ - ( theWrappedObject->insert(name, value)); -} - -bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) const -{ - return ( theWrappedObject->keys()); -} - -bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) -{ - ( theWrappedObject->remove(name)); -} - -void PythonQtWrapper_QProcessEnvironment::swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other) -{ - ( theWrappedObject->swap(other)); -} - -QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() -{ - return (QProcessEnvironment::systemEnvironment()); -} - -QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const -{ - return ( theWrappedObject->toStringList()); -} - -QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const -{ - return ( theWrappedObject->value(name, defaultValue)); -} - - - -PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::childEvent(arg__1); -} -void PythonQtShell_QPropertyAnimation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::customEvent(arg__1); -} -int PythonQtShell_QPropertyAnimation::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPropertyAnimation::duration(); -} -bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPropertyAnimation::event(event0); -} -bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPropertyAnimation::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("interpolated"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QPropertyAnimation::interpolated(from0, to1, progress2); -} -void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::timerEvent(arg__1); -} -void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::updateCurrentTime(arg__1); -} -void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentValue"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::updateCurrentValue(value0); -} -void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::updateDirection(direction0); -} -void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QPropertyAnimation::updateState(newState0, oldState1); -} -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) -{ -return new PythonQtShell_QPropertyAnimation(parent); } - -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) -{ -return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } - -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(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()); -} - - - -QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression() -{ -return new QRegularExpression(); } - -QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QRegularExpression& re) -{ -return new QRegularExpression(re); } - -QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options) -{ -return new QRegularExpression(pattern, options); } - -int PythonQtWrapper_QRegularExpression::captureCount(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->captureCount()); -} - -QString PythonQtWrapper_QRegularExpression::errorString(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_escape(const QString& str) -{ - return (QRegularExpression::escape(str)); -} - -QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const -{ - return ( theWrappedObject->globalMatch(subject, offset, matchType, matchOptions)); -} - -bool PythonQtWrapper_QRegularExpression::isValid(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const -{ - return ( theWrappedObject->match(subject, offset, matchType, matchOptions)); -} - -bool PythonQtWrapper_QRegularExpression::__ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const -{ - return ( (*theWrappedObject)!= re); -} - -void PythonQtWrapper_QRegularExpression::writeTo(QRegularExpression* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -QRegularExpression* PythonQtWrapper_QRegularExpression::operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re) -{ - return &( (*theWrappedObject)= re); -} - -bool PythonQtWrapper_QRegularExpression::__eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const -{ - return ( (*theWrappedObject)== re); -} - -void PythonQtWrapper_QRegularExpression::readFrom(QRegularExpression* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -QString PythonQtWrapper_QRegularExpression::pattern(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->pattern()); -} - -int PythonQtWrapper_QRegularExpression::patternErrorOffset(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->patternErrorOffset()); -} - -QRegularExpression::PatternOptions PythonQtWrapper_QRegularExpression::patternOptions(QRegularExpression* theWrappedObject) const -{ - return ( theWrappedObject->patternOptions()); -} - -void PythonQtWrapper_QRegularExpression::setPattern(QRegularExpression* theWrappedObject, const QString& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - -void PythonQtWrapper_QRegularExpression::setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options) -{ - ( theWrappedObject->setPatternOptions(options)); -} - -void PythonQtWrapper_QRegularExpression::swap(QRegularExpression* theWrappedObject, QRegularExpression& re) -{ - ( theWrappedObject->swap(re)); -} - -QString PythonQtWrapper_QRegularExpression::py_toString(QRegularExpression* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch(const QRegularExpressionMatch& match) -{ -return new QRegularExpressionMatch(match); } - -QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->captured(name)); -} - -QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const -{ - return ( theWrappedObject->captured(nth)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->capturedEnd(name)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const -{ - return ( theWrappedObject->capturedEnd(nth)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->capturedLength(name)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, int nth) const -{ - return ( theWrappedObject->capturedLength(nth)); -} - -QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->capturedRef(name)); -} - -QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const -{ - return ( theWrappedObject->capturedRef(nth)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->capturedStart(name)); -} - -int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const -{ - return ( theWrappedObject->capturedStart(nth)); -} - -QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->capturedTexts()); -} - -bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->hasMatch()); -} - -bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->hasPartialMatch()); -} - -bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QRegularExpressionMatch::lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->lastCapturedIndex()); -} - -QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatch::matchOptions(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->matchOptions()); -} - -QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatch::matchType(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->matchType()); -} - -QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) -{ - return &( (*theWrappedObject)= match); -} - -QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->regularExpression()); -} - -void PythonQtWrapper_QRegularExpressionMatch::swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& match) -{ - ( theWrappedObject->swap(match)); -} - -QString PythonQtWrapper_QRegularExpressionMatch::py_toString(QRegularExpressionMatch* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.h deleted file mode 100644 index ac682b5fe..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ /dev/null @@ -1,1270 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QIdentityProxyModel : public QIdentityProxyModel -{ -public: - PythonQtShell_QIdentityProxyModel(QObject* parent = 0):QIdentityProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIdentityProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual 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) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIdentityProxyModel : public QIdentityProxyModel -{ public: -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::columnCount(parent); } -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QIdentityProxyModel::dropMimeData(data, action, row, column, parent); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role) const { return QIdentityProxyModel::headerData(section, orientation, role); } -inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::index(row, column, parent); } -inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertColumns(column, count, parent); } -inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertRows(row, count, parent); } -inline QModelIndex promoted_mapFromSource(const QModelIndex& sourceIndex) const { return QIdentityProxyModel::mapFromSource(sourceIndex); } -inline QItemSelection promoted_mapSelectionFromSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionFromSource(selection); } -inline QItemSelection promoted_mapSelectionToSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionToSource(selection); } -inline QModelIndex promoted_mapToSource(const QModelIndex& proxyIndex) const { return QIdentityProxyModel::mapToSource(proxyIndex); } -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 QIdentityProxyModel::match(start, role, value, hits, flags); } -inline QModelIndex promoted_parent(const QModelIndex& child) const { return QIdentityProxyModel::parent(child); } -inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeColumns(column, count, parent); } -inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeRows(row, count, parent); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::rowCount(parent); } -inline void promoted_setSourceModel(QAbstractItemModel* sourceModel) { QIdentityProxyModel::setSourceModel(sourceModel); } -inline QModelIndex promoted_sibling(int row, int column, const QModelIndex& idx) const { return QIdentityProxyModel::sibling(row, column, idx); } -}; - -class PythonQtWrapper_QIdentityProxyModel : public QObject -{ Q_OBJECT -public: -public slots: -QIdentityProxyModel* new_QIdentityProxyModel(QObject* parent = 0); -void delete_QIdentityProxyModel(QIdentityProxyModel* obj) { delete obj; } - int columnCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - bool dropMimeData(QIdentityProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - QVariant headerData(QIdentityProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const; - QModelIndex index(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; - bool insertColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - bool insertRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - QModelIndex mapFromSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const; - QItemSelection mapSelectionFromSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const; - QItemSelection mapSelectionToSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const; - QModelIndex mapToSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const; - QList match(QIdentityProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; - QModelIndex parent(QIdentityProxyModel* theWrappedObject, const QModelIndex& child) const; - bool removeColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()); - bool removeRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()); - int rowCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - void setSourceModel(QIdentityProxyModel* theWrappedObject, QAbstractItemModel* sourceModel); - QModelIndex sibling(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const; -}; - - - - - -class PythonQtWrapper_QJsonArray : public QObject -{ Q_OBJECT -public: -public slots: -QJsonArray* new_QJsonArray(); -QJsonArray* new_QJsonArray(const QJsonArray& other); -void delete_QJsonArray(QJsonArray* obj) { delete obj; } - void append(QJsonArray* theWrappedObject, const QJsonValue& value); - QJsonValue at(QJsonArray* theWrappedObject, int i) const; - bool contains(QJsonArray* theWrappedObject, const QJsonValue& element) const; - int count(QJsonArray* theWrappedObject) const; - bool empty(QJsonArray* theWrappedObject) const; - QJsonValue first(QJsonArray* theWrappedObject) const; - QJsonArray static_QJsonArray_fromStringList(const QStringList& list); - QJsonArray static_QJsonArray_fromVariantList(const QList& list); - void insert(QJsonArray* theWrappedObject, int i, const QJsonValue& value); - bool isEmpty(QJsonArray* theWrappedObject) const; - QJsonValue last(QJsonArray* theWrappedObject) const; - bool __ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const; - QJsonArray* operator_assign(QJsonArray* theWrappedObject, const QJsonArray& other); - bool __eq__(QJsonArray* theWrappedObject, const QJsonArray& other) const; - QJsonValue operator_subscript(QJsonArray* theWrappedObject, int i) const; - void pop_back(QJsonArray* theWrappedObject); - void pop_front(QJsonArray* theWrappedObject); - void prepend(QJsonArray* theWrappedObject, const QJsonValue& value); - void push_back(QJsonArray* theWrappedObject, const QJsonValue& t); - void push_front(QJsonArray* theWrappedObject, const QJsonValue& t); - void removeAt(QJsonArray* theWrappedObject, int i); - void removeFirst(QJsonArray* theWrappedObject); - void removeLast(QJsonArray* theWrappedObject); - void replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value); - int size(QJsonArray* theWrappedObject) const; - QJsonValue takeAt(QJsonArray* theWrappedObject, int i); - QList toVariantList(QJsonArray* theWrappedObject) const; - QString py_toString(QJsonArray*); -}; - - - - - -class PythonQtShell_QJsonDocument : public QJsonDocument -{ -public: - PythonQtShell_QJsonDocument():QJsonDocument(),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonArray& array):QJsonDocument(array),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonDocument& other):QJsonDocument(other),_wrapper(NULL) {}; - PythonQtShell_QJsonDocument(const QJsonObject& object):QJsonDocument(object),_wrapper(NULL) {}; - - ~PythonQtShell_QJsonDocument(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QJsonDocument : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DataValidation ) -enum DataValidation{ - Validate = QJsonDocument::Validate, BypassValidation = QJsonDocument::BypassValidation}; -public slots: -QJsonDocument* new_QJsonDocument(); -QJsonDocument* new_QJsonDocument(const QJsonArray& array); -QJsonDocument* new_QJsonDocument(const QJsonDocument& other); -QJsonDocument* new_QJsonDocument(const QJsonObject& object); -void delete_QJsonDocument(QJsonDocument* obj) { delete obj; } - QJsonArray array(QJsonDocument* theWrappedObject) const; - QJsonDocument static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation = QJsonDocument::Validate); - QJsonDocument static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error = 0); - QJsonDocument static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation = QJsonDocument::Validate); - QJsonDocument static_QJsonDocument_fromVariant(const QVariant& variant); - bool isArray(QJsonDocument* theWrappedObject) const; - bool isEmpty(QJsonDocument* theWrappedObject) const; - bool isNull(QJsonDocument* theWrappedObject) const; - bool isObject(QJsonDocument* theWrappedObject) const; - QJsonObject object(QJsonDocument* theWrappedObject) const; - bool __ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; - QJsonDocument* operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other); - bool __eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; - const char* rawData(QJsonDocument* theWrappedObject, int* size) const; - void setArray(QJsonDocument* theWrappedObject, const QJsonArray& array); - void setObject(QJsonDocument* theWrappedObject, const QJsonObject& object); - QByteArray toBinaryData(QJsonDocument* theWrappedObject) const; - QByteArray toJson(QJsonDocument* theWrappedObject) const; - QVariant toVariant(QJsonDocument* theWrappedObject) const; - QString py_toString(QJsonDocument*); - bool __nonzero__(QJsonDocument* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtWrapper_QJsonObject : public QObject -{ Q_OBJECT -public: -public slots: -QJsonObject* new_QJsonObject(); -QJsonObject* new_QJsonObject(const QJsonObject& other); -void delete_QJsonObject(QJsonObject* obj) { delete obj; } - bool contains(QJsonObject* theWrappedObject, const QString& key) const; - int count(QJsonObject* theWrappedObject) const; - bool empty(QJsonObject* theWrappedObject) const; - QJsonObject static_QJsonObject_fromVariantMap(const QMap& map); - bool isEmpty(QJsonObject* theWrappedObject) const; - QStringList keys(QJsonObject* theWrappedObject) const; - int length(QJsonObject* theWrappedObject) const; - bool __ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const; - QJsonObject* operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other); - bool __eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const; - QJsonValue operator_subscript(QJsonObject* theWrappedObject, const QString& key) const; - void remove(QJsonObject* theWrappedObject, const QString& key); - int size(QJsonObject* theWrappedObject) const; - QJsonValue take(QJsonObject* theWrappedObject, const QString& key); - QMap toVariantMap(QJsonObject* theWrappedObject) const; - QJsonValue value(QJsonObject* theWrappedObject, const QString& key) const; - QString py_toString(QJsonObject*); -}; - - - - - -class PythonQtShell_QJsonParseError : public QJsonParseError -{ -public: - PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(NULL) {}; - - ~PythonQtShell_QJsonParseError(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QJsonParseError : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ParseError ) -enum ParseError{ - NoError = QJsonParseError::NoError, UnterminatedObject = QJsonParseError::UnterminatedObject, MissingNameSeparator = QJsonParseError::MissingNameSeparator, UnterminatedArray = QJsonParseError::UnterminatedArray, MissingValueSeparator = QJsonParseError::MissingValueSeparator, IllegalValue = QJsonParseError::IllegalValue, TerminationByNumber = QJsonParseError::TerminationByNumber, IllegalNumber = QJsonParseError::IllegalNumber, IllegalEscapeSequence = QJsonParseError::IllegalEscapeSequence, IllegalUTF8String = QJsonParseError::IllegalUTF8String, UnterminatedString = QJsonParseError::UnterminatedString, MissingObject = QJsonParseError::MissingObject, DeepNesting = QJsonParseError::DeepNesting}; -public slots: -QJsonParseError* new_QJsonParseError(); -void delete_QJsonParseError(QJsonParseError* obj) { delete obj; } - QString errorString(QJsonParseError* theWrappedObject) const; -void py_set_error(QJsonParseError* theWrappedObject, QJsonParseError::ParseError error){ theWrappedObject->error = error; } -QJsonParseError::ParseError py_get_error(QJsonParseError* theWrappedObject){ return theWrappedObject->error; } -void py_set_offset(QJsonParseError* theWrappedObject, int offset){ theWrappedObject->offset = offset; } -int py_get_offset(QJsonParseError* theWrappedObject){ return theWrappedObject->offset; } -}; - - - - - -class PythonQtWrapper_QJsonValue : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Type ) -enum Type{ - Null = QJsonValue::Null, Bool = QJsonValue::Bool, Double = QJsonValue::Double, String = QJsonValue::String, Array = QJsonValue::Array, Object = QJsonValue::Object, Undefined = QJsonValue::Undefined}; -public slots: -QJsonValue* new_QJsonValue(QJsonValue::Type arg__1 = QJsonValue::Null); -QJsonValue* new_QJsonValue(QLatin1String s); -QJsonValue* new_QJsonValue(bool b); -QJsonValue* new_QJsonValue(const QJsonArray& a); -QJsonValue* new_QJsonValue(const QJsonObject& o); -QJsonValue* new_QJsonValue(const QJsonValue& other); -QJsonValue* new_QJsonValue(const QString& s); -QJsonValue* new_QJsonValue(double n); -QJsonValue* new_QJsonValue(int n); -void delete_QJsonValue(QJsonValue* obj) { delete obj; } - QJsonValue static_QJsonValue_fromVariant(const QVariant& variant); - bool isArray(QJsonValue* theWrappedObject) const; - bool isBool(QJsonValue* theWrappedObject) const; - bool isDouble(QJsonValue* theWrappedObject) const; - bool isNull(QJsonValue* theWrappedObject) const; - bool isObject(QJsonValue* theWrappedObject) const; - bool isString(QJsonValue* theWrappedObject) const; - bool isUndefined(QJsonValue* theWrappedObject) const; - bool __ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const; - QJsonValue* operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other); - bool __eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const; - QJsonArray toArray(QJsonValue* theWrappedObject) const; - QJsonArray toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const; - bool toBool(QJsonValue* theWrappedObject, bool defaultValue = false) const; - double toDouble(QJsonValue* theWrappedObject, double defaultValue = 0) const; - QJsonObject toObject(QJsonValue* theWrappedObject) const; - QJsonObject toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const; - QString toString(QJsonValue* theWrappedObject, const QString& defaultValue = QString()) const; - QVariant toVariant(QJsonValue* theWrappedObject) const; - QJsonValue::Type type(QJsonValue* theWrappedObject) const; - QString py_toString(QJsonValue*); - bool __nonzero__(QJsonValue* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QLibrary : public QLibrary -{ -public: - PythonQtShell_QLibrary(QObject* parent = 0):QLibrary(parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, QObject* parent = 0):QLibrary(fileName, parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, const QString& version, QObject* parent = 0):QLibrary(fileName, version, parent),_wrapper(NULL) {}; - PythonQtShell_QLibrary(const QString& fileName, int verNum, QObject* parent = 0):QLibrary(fileName, verNum, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLibrary(); - -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_QLibrary : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LoadHint ) -Q_FLAGS(LoadHints ) -enum LoadHint{ - ResolveAllSymbolsHint = QLibrary::ResolveAllSymbolsHint, ExportExternalSymbolsHint = QLibrary::ExportExternalSymbolsHint, LoadArchiveMemberHint = QLibrary::LoadArchiveMemberHint, PreventUnloadHint = QLibrary::PreventUnloadHint}; -Q_DECLARE_FLAGS(LoadHints, LoadHint) -public slots: -QLibrary* new_QLibrary(QObject* parent = 0); -QLibrary* new_QLibrary(const QString& fileName, QObject* parent = 0); -QLibrary* new_QLibrary(const QString& fileName, const QString& version, QObject* parent = 0); -QLibrary* new_QLibrary(const QString& fileName, int verNum, QObject* parent = 0); -void delete_QLibrary(QLibrary* obj) { delete obj; } - QString errorString(QLibrary* theWrappedObject) const; - QString fileName(QLibrary* theWrappedObject) const; - bool static_QLibrary_isLibrary(const QString& fileName); - bool isLoaded(QLibrary* theWrappedObject) const; - bool load(QLibrary* theWrappedObject); - QLibrary::LoadHints loadHints(QLibrary* theWrappedObject) const; - void setFileName(QLibrary* theWrappedObject, const QString& fileName); - void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version); - void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum); - void setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints); - bool unload(QLibrary* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QLibraryInfo : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LibraryLocation ) -enum LibraryLocation{ - PrefixPath = QLibraryInfo::PrefixPath, DocumentationPath = QLibraryInfo::DocumentationPath, HeadersPath = QLibraryInfo::HeadersPath, LibrariesPath = QLibraryInfo::LibrariesPath, LibraryExecutablesPath = QLibraryInfo::LibraryExecutablesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, ImportsPath = QLibraryInfo::ImportsPath, Qml2ImportsPath = QLibraryInfo::Qml2ImportsPath, ArchDataPath = QLibraryInfo::ArchDataPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, ExamplesPath = QLibraryInfo::ExamplesPath, TestsPath = QLibraryInfo::TestsPath, SettingsPath = QLibraryInfo::SettingsPath}; -public slots: -void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } - QDate static_QLibraryInfo_buildDate(); - bool static_QLibraryInfo_isDebugBuild(); - QString static_QLibraryInfo_licensedProducts(); - QString static_QLibraryInfo_licensee(); - QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); -}; - - - - - -class PythonQtShell_QMessageLogContext : public QMessageLogContext -{ -public: - PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(NULL) {}; - PythonQtShell_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName):QMessageLogContext(fileName, lineNumber, functionName, categoryName),_wrapper(NULL) {}; - - ~PythonQtShell_QMessageLogContext(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMessageLogContext : public QObject -{ Q_OBJECT -public: -public slots: -QMessageLogContext* new_QMessageLogContext(); -QMessageLogContext* new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName); -void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } -const char* py_get_category(QMessageLogContext* theWrappedObject){ return theWrappedObject->category; } -const char* py_get_file(QMessageLogContext* theWrappedObject){ return theWrappedObject->file; } -const char* py_get_function(QMessageLogContext* theWrappedObject){ return theWrappedObject->function; } -void py_set_line(QMessageLogContext* theWrappedObject, int line){ theWrappedObject->line = line; } -int py_get_line(QMessageLogContext* theWrappedObject){ return theWrappedObject->line; } -void py_set_version(QMessageLogContext* theWrappedObject, int version){ theWrappedObject->version = version; } -int py_get_version(QMessageLogContext* theWrappedObject){ return theWrappedObject->version; } -}; - - - - - -class PythonQtWrapper_QMessageLogger : public QObject -{ Q_OBJECT -public: -public slots: -QMessageLogger* new_QMessageLogger(); -QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function); -QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function, const char* category); -void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } - void critical(QMessageLogger* theWrappedObject, const char* msg) const; - void debug(QMessageLogger* theWrappedObject, const char* msg) const; - void fatal(QMessageLogger* theWrappedObject, const char* msg) const; - void noDebug(QMessageLogger* theWrappedObject, const char* arg__1) const; - void warning(QMessageLogger* theWrappedObject, const char* msg) const; -}; - - - - - -class PythonQtWrapper_QMetaClassInfo : public QObject -{ Q_OBJECT -public: -public slots: -QMetaClassInfo* new_QMetaClassInfo(); -void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaClassInfo* theWrappedObject) const; - const char* name(QMetaClassInfo* theWrappedObject) const; - const char* value(QMetaClassInfo* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QMetaEnum : public QObject -{ Q_OBJECT -public: -public slots: -QMetaEnum* new_QMetaEnum(); -void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; - bool isFlag(QMetaEnum* theWrappedObject) const; - bool isValid(QMetaEnum* theWrappedObject) const; - const char* key(QMetaEnum* theWrappedObject, int index) const; - int keyCount(QMetaEnum* theWrappedObject) const; - int keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok = 0) const; - int keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok = 0) const; - const char* name(QMetaEnum* theWrappedObject) const; - const char* scope(QMetaEnum* theWrappedObject) const; - int value(QMetaEnum* theWrappedObject, int index) const; - const char* valueToKey(QMetaEnum* theWrappedObject, int value) const; - QByteArray valueToKeys(QMetaEnum* theWrappedObject, int value) const; -}; - - - - - -class PythonQtWrapper_QMetaMethod : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Access Attributes MethodType ) -enum Access{ - Private = QMetaMethod::Private, Protected = QMetaMethod::Protected, Public = QMetaMethod::Public}; -enum Attributes{ - Compatibility = QMetaMethod::Compatibility, Cloned = QMetaMethod::Cloned, Scriptable = QMetaMethod::Scriptable}; -enum MethodType{ - Method = QMetaMethod::Method, Signal = QMetaMethod::Signal, Slot = QMetaMethod::Slot, Constructor = QMetaMethod::Constructor}; -public slots: -QMetaMethod* new_QMetaMethod(); -void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } - QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; - int attributes(QMetaMethod* theWrappedObject) const; - const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; - void getParameterTypes(QMetaMethod* theWrappedObject, int* types) const; - bool isValid(QMetaMethod* theWrappedObject) const; - int methodIndex(QMetaMethod* theWrappedObject) const; - QByteArray methodSignature(QMetaMethod* theWrappedObject) const; - QMetaMethod::MethodType methodType(QMetaMethod* theWrappedObject) const; - QByteArray name(QMetaMethod* theWrappedObject) const; - bool __eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); - int parameterCount(QMetaMethod* theWrappedObject) const; - QList parameterNames(QMetaMethod* theWrappedObject) const; - int parameterType(QMetaMethod* theWrappedObject, int index) const; - QList parameterTypes(QMetaMethod* theWrappedObject) const; - int returnType(QMetaMethod* theWrappedObject) const; - int revision(QMetaMethod* theWrappedObject) const; - const char* tag(QMetaMethod* theWrappedObject) const; - const char* typeName(QMetaMethod* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QMetaProperty : public QObject -{ Q_OBJECT -public: -public slots: -QMetaProperty* new_QMetaProperty(); -void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; - QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; - bool hasNotifySignal(QMetaProperty* theWrappedObject) const; - bool hasStdCppSet(QMetaProperty* theWrappedObject) const; - bool isConstant(QMetaProperty* theWrappedObject) const; - bool isDesignable(QMetaProperty* theWrappedObject, const QObject* obj = 0) const; - bool isEditable(QMetaProperty* theWrappedObject, const QObject* obj = 0) const; - bool isEnumType(QMetaProperty* theWrappedObject) const; - bool isFinal(QMetaProperty* theWrappedObject) const; - bool isFlagType(QMetaProperty* theWrappedObject) const; - bool isReadable(QMetaProperty* theWrappedObject) const; - bool isResettable(QMetaProperty* theWrappedObject) const; - bool isScriptable(QMetaProperty* theWrappedObject, const QObject* obj = 0) const; - bool isStored(QMetaProperty* theWrappedObject, const QObject* obj = 0) const; - bool isUser(QMetaProperty* theWrappedObject, const QObject* obj = 0) const; - bool isValid(QMetaProperty* theWrappedObject) const; - bool isWritable(QMetaProperty* theWrappedObject) const; - const char* name(QMetaProperty* theWrappedObject) const; - QMetaMethod notifySignal(QMetaProperty* theWrappedObject) const; - int notifySignalIndex(QMetaProperty* theWrappedObject) const; - int propertyIndex(QMetaProperty* theWrappedObject) const; - QVariant read(QMetaProperty* theWrappedObject, const QObject* obj) const; - bool reset(QMetaProperty* theWrappedObject, QObject* obj) const; - int revision(QMetaProperty* theWrappedObject) const; - QVariant::Type type(QMetaProperty* theWrappedObject) const; - const char* typeName(QMetaProperty* theWrappedObject) const; - int userType(QMetaProperty* theWrappedObject) const; - bool write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const; -}; - - - - - -class PythonQtWrapper_QMetaType : public QObject -{ Q_OBJECT -public: -Q_ENUMS(TypeFlag ) -Q_FLAGS(TypeFlags ) -enum TypeFlag{ - NeedsConstruction = QMetaType::NeedsConstruction, NeedsDestruction = QMetaType::NeedsDestruction, MovableType = QMetaType::MovableType, PointerToQObject = QMetaType::PointerToQObject, IsEnumeration = QMetaType::IsEnumeration, SharedPointerToQObject = QMetaType::SharedPointerToQObject, WeakPointerToQObject = QMetaType::WeakPointerToQObject, TrackingPointerToQObject = QMetaType::TrackingPointerToQObject, WasDeclaredAsMetaType = QMetaType::WasDeclaredAsMetaType}; -Q_DECLARE_FLAGS(TypeFlags, TypeFlag) -public slots: -QMetaType* new_QMetaType(const int type); -void delete_QMetaType(QMetaType* obj) { delete obj; } - void* static_QMetaType_construct(int type, void* where, const void* copy); - void* construct(QMetaType* theWrappedObject, void* where, const void* copy = 0) const; - void* create(QMetaType* theWrappedObject, const void* copy = 0) const; - void* static_QMetaType_create(int type, const void* copy = 0); - void static_QMetaType_destroy(int type, void* data); - void destroy(QMetaType* theWrappedObject, void* data) const; - void static_QMetaType_destruct(int type, void* where); - void destruct(QMetaType* theWrappedObject, void* data) const; - QMetaType::TypeFlags flags(QMetaType* theWrappedObject) const; - bool isRegistered(QMetaType* theWrappedObject) const; - bool static_QMetaType_isRegistered(int type); - bool isValid(QMetaType* theWrappedObject) const; - bool static_QMetaType_load(QDataStream& stream, int type, void* data); - const QMetaObject* metaObject(QMetaType* theWrappedObject) const; - const QMetaObject* static_QMetaType_metaObjectForType(int type); - int static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId); - int static_QMetaType_registerTypedef(const char* typeName, int aliasId); - bool static_QMetaType_save(QDataStream& stream, int type, const void* data); - int sizeOf(QMetaType* theWrappedObject) const; - int static_QMetaType_sizeOf(int type); - int static_QMetaType_type(const char* typeName); - QMetaType::TypeFlags static_QMetaType_typeFlags(int type); - const char* static_QMetaType_typeName(int type); -}; - - - - - -class PythonQtShell_QMimeData : public QMimeData -{ -public: - PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; - - ~PythonQtShell_QMimeData(); - -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_QMimeDatabase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MatchMode ) -enum MatchMode{ - MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; -public slots: -QMimeDatabase* new_QMimeDatabase(); -void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } - QList allMimeTypes(QMimeDatabase* theWrappedObject) const; - QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const; - QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const; - QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; - QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; - QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const; - QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const; - QMimeType mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const; - QMimeType mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const; - QList mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; - QString suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; -}; - - - - - -class PythonQtWrapper_QMimeType : public QObject -{ Q_OBJECT -public: -public slots: -QMimeType* new_QMimeType(); -QMimeType* new_QMimeType(const QMimeType& other); -void delete_QMimeType(QMimeType* obj) { delete obj; } - QStringList aliases(QMimeType* theWrappedObject) const; - QStringList allAncestors(QMimeType* theWrappedObject) const; - QString comment(QMimeType* theWrappedObject) const; - QString filterString(QMimeType* theWrappedObject) const; - QString genericIconName(QMimeType* theWrappedObject) const; - QStringList globPatterns(QMimeType* theWrappedObject) const; - QString iconName(QMimeType* theWrappedObject) const; - bool inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const; - bool isDefault(QMimeType* theWrappedObject) const; - bool isValid(QMimeType* theWrappedObject) const; - QString name(QMimeType* theWrappedObject) const; - bool __ne__(QMimeType* theWrappedObject, const QMimeType& other) const; - QMimeType* operator_assign(QMimeType* theWrappedObject, const QMimeType& other); - bool __eq__(QMimeType* theWrappedObject, const QMimeType& other) const; - QStringList parentMimeTypes(QMimeType* theWrappedObject) const; - QString preferredSuffix(QMimeType* theWrappedObject) const; - QStringList suffixes(QMimeType* theWrappedObject) const; - void swap(QMimeType* theWrappedObject, QMimeType& other); -}; - - - - - -class PythonQtWrapper_QModelIndex : public QObject -{ Q_OBJECT -public: -public slots: -QModelIndex* new_QModelIndex(); -QModelIndex* new_QModelIndex(const QModelIndex& other) { -QModelIndex* a = new QModelIndex(); -*((QModelIndex*)a) = other; -return a; } -void delete_QModelIndex(QModelIndex* obj) { delete obj; } - QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const; - int column(QModelIndex* theWrappedObject) const; - QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; - Qt::ItemFlags flags(QModelIndex* theWrappedObject) const; - quintptr internalId(QModelIndex* theWrappedObject) const; - void* internalPointer(QModelIndex* theWrappedObject) const; - bool isValid(QModelIndex* theWrappedObject) const; - const QAbstractItemModel* model(QModelIndex* theWrappedObject) const; - bool __ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const; - QModelIndex parent(QModelIndex* theWrappedObject) const; - int row(QModelIndex* theWrappedObject) const; - QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const; - QString py_toString(QModelIndex*); -}; - - - - - -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, int timeout = 0); - void unlock(QMutex* theWrappedObject); -}; - - - - - -class PythonQtShell_QObject : public QObject -{ -public: - PythonQtShell_QObject(QObject* parent = 0):QObject(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QObject(); - -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 bool promoted_isSignalConnected(const QMetaMethod& signal) const { return QObject::isSignalConnected(signal); } -inline QObject* promoted_sender() const { return QObject::sender(); } -inline int promoted_senderSignalIndex() const { return QObject::senderSignalIndex(); } -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 isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const; - bool isWidgetType(QObject* theWrappedObject) const; - bool isWindowType(QObject* theWrappedObject) const; - void killTimer(QObject* theWrappedObject, int id); - void moveToThread(QObject* theWrappedObject, QThread* thread); - QString objectName(QObject* theWrappedObject) const; - void removeEventFilter(QObject* theWrappedObject, QObject* arg__1); - QObject* sender(QObject* theWrappedObject) const; - int senderSignalIndex(QObject* theWrappedObject) const; - void setObjectName(QObject* theWrappedObject, const QString& name); - bool signalsBlocked(QObject* theWrappedObject) const; - int startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType = Qt::CoarseTimer); - QThread* thread(QObject* theWrappedObject) const; - void timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1); -}; - - - - - -class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup -{ -public: - PythonQtShell_QParallelAnimationGroup(QObject* parent = 0):QParallelAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QParallelAnimationGroup(); - -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) {}; - - ~PythonQtShell_QPauseAnimation(); - -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 PythonQtWrapper_QPersistentModelIndex : public QObject -{ Q_OBJECT -public: -public slots: -QPersistentModelIndex* new_QPersistentModelIndex(); -QPersistentModelIndex* new_QPersistentModelIndex(const QModelIndex& index); -QPersistentModelIndex* new_QPersistentModelIndex(const QPersistentModelIndex& other); -void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } - QModelIndex child(QPersistentModelIndex* theWrappedObject, int row, int column) const; - int column(QPersistentModelIndex* theWrappedObject) const; - QVariant data(QPersistentModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; - Qt::ItemFlags flags(QPersistentModelIndex* theWrappedObject) const; - quintptr internalId(QPersistentModelIndex* theWrappedObject) const; - bool isValid(QPersistentModelIndex* theWrappedObject) const; - const QAbstractItemModel* model(QPersistentModelIndex* theWrappedObject) const; - QModelIndex operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const; - bool __ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; - bool __lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; - bool __eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; - bool __eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; - QModelIndex parent(QPersistentModelIndex* theWrappedObject) const; - int row(QPersistentModelIndex* theWrappedObject) const; - QModelIndex sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const; - void swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other); - QString py_toString(QPersistentModelIndex*); -}; - - - - - -class PythonQtShell_QProcess : public QProcess -{ -public: - PythonQtShell_QProcess(QObject* parent = 0):QProcess(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProcess(); - -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_setProcessState(QProcess::ProcessState state) { QProcess::setProcessState(state); } -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(ExitStatus ProcessChannel ProcessChannelMode ProcessError ProcessState ) -enum ExitStatus{ - NormalExit = QProcess::NormalExit, CrashExit = QProcess::CrashExit}; -enum ProcessChannel{ - StandardOutput = QProcess::StandardOutput, StandardError = QProcess::StandardError}; -enum ProcessChannelMode{ - SeparateChannels = QProcess::SeparateChannels, MergedChannels = QProcess::MergedChannels, ForwardedChannels = QProcess::ForwardedChannels}; -enum ProcessError{ - FailedToStart = QProcess::FailedToStart, Crashed = QProcess::Crashed, Timedout = QProcess::Timedout, ReadError = QProcess::ReadError, WriteError = QProcess::WriteError, UnknownError = QProcess::UnknownError}; -enum ProcessState{ - NotRunning = QProcess::NotRunning, Starting = QProcess::Starting, Running = QProcess::Running}; -public slots: -QProcess* new_QProcess(QObject* parent = 0); -void delete_QProcess(QProcess* obj) { delete obj; } - QStringList arguments(QProcess* theWrappedObject) const; - 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; - QString program(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 setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state); - 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& command, QIODevice::OpenMode mode = QIODevice::ReadWrite); - void start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite); - bool static_QProcess_startDetached(const QString& 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 QProcessEnvironment& e); - void insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value); - bool isEmpty(QProcessEnvironment* theWrappedObject) const; - QStringList keys(QProcessEnvironment* theWrappedObject) const; - bool __ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; - QProcessEnvironment* operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other); - bool __eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; - void remove(QProcessEnvironment* theWrappedObject, const QString& name); - void swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other); - QProcessEnvironment static_QProcessEnvironment_systemEnvironment(); - QStringList toStringList(QProcessEnvironment* theWrappedObject) const; - QString value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QPropertyAnimation(); - -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::RecursionMode recursionMode = QReadWriteLock::NonRecursive); -void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } - void lockForRead(QReadWriteLock* theWrappedObject); - void lockForWrite(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout); - bool tryLockForWrite(QReadWriteLock* theWrappedObject); - bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout); - void unlock(QReadWriteLock* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QRegularExpression : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MatchOption MatchType PatternOption ) -Q_FLAGS(MatchOptions PatternOptions ) -enum MatchOption{ - NoMatchOption = QRegularExpression::NoMatchOption, AnchoredMatchOption = QRegularExpression::AnchoredMatchOption}; -enum MatchType{ - NormalMatch = QRegularExpression::NormalMatch, PartialPreferCompleteMatch = QRegularExpression::PartialPreferCompleteMatch, PartialPreferFirstMatch = QRegularExpression::PartialPreferFirstMatch}; -enum PatternOption{ - NoPatternOption = QRegularExpression::NoPatternOption, CaseInsensitiveOption = QRegularExpression::CaseInsensitiveOption, DotMatchesEverythingOption = QRegularExpression::DotMatchesEverythingOption, MultilineOption = QRegularExpression::MultilineOption, ExtendedPatternSyntaxOption = QRegularExpression::ExtendedPatternSyntaxOption, InvertedGreedinessOption = QRegularExpression::InvertedGreedinessOption, DontCaptureOption = QRegularExpression::DontCaptureOption, UseUnicodePropertiesOption = QRegularExpression::UseUnicodePropertiesOption}; -Q_DECLARE_FLAGS(MatchOptions, MatchOption) -Q_DECLARE_FLAGS(PatternOptions, PatternOption) -public slots: -QRegularExpression* new_QRegularExpression(); -QRegularExpression* new_QRegularExpression(const QRegularExpression& re); -QRegularExpression* new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options = QRegularExpression::NoPatternOption); -void delete_QRegularExpression(QRegularExpression* obj) { delete obj; } - int captureCount(QRegularExpression* theWrappedObject) const; - QString errorString(QRegularExpression* theWrappedObject) const; - QString static_QRegularExpression_escape(const QString& str); - QRegularExpressionMatchIterator globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; - bool isValid(QRegularExpression* theWrappedObject) const; - QRegularExpressionMatch match(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; - bool __ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; - void writeTo(QRegularExpression* theWrappedObject, QDataStream& out); - QRegularExpression* operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re); - bool __eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; - void readFrom(QRegularExpression* theWrappedObject, QDataStream& in); - QString pattern(QRegularExpression* theWrappedObject) const; - int patternErrorOffset(QRegularExpression* theWrappedObject) const; - QRegularExpression::PatternOptions patternOptions(QRegularExpression* theWrappedObject) const; - void setPattern(QRegularExpression* theWrappedObject, const QString& pattern); - void setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options); - void swap(QRegularExpression* theWrappedObject, QRegularExpression& re); - QString py_toString(QRegularExpression*); -}; - - - - - -class PythonQtWrapper_QRegularExpressionMatch : public QObject -{ Q_OBJECT -public: -public slots: -QRegularExpressionMatch* new_QRegularExpressionMatch(const QRegularExpressionMatch& match); -void delete_QRegularExpressionMatch(QRegularExpressionMatch* obj) { delete obj; } - QString captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const; - QString captured(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; - int capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const; - int capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; - int capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const; - int capturedLength(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; - QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const; - QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; - int capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const; - int capturedStart(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; - QStringList capturedTexts(QRegularExpressionMatch* theWrappedObject) const; - bool hasMatch(QRegularExpressionMatch* theWrappedObject) const; - bool hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const; - bool isValid(QRegularExpressionMatch* theWrappedObject) const; - int lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const; - QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatch* theWrappedObject) const; - QRegularExpression::MatchType matchType(QRegularExpressionMatch* theWrappedObject) const; - QRegularExpressionMatch* operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match); - QRegularExpression regularExpression(QRegularExpressionMatch* theWrappedObject) const; - void swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& match); - QString py_toString(QRegularExpressionMatch*); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp deleted file mode 100644 index f1ad51832..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ /dev/null @@ -1,4519 +0,0 @@ -#include "com_trolltech_qt_core2.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator) -{ -return new QRegularExpressionMatchIterator(iterator); } - -bool PythonQtWrapper_QRegularExpressionMatchIterator::hasNext(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->hasNext()); -} - -bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->matchOptions()); -} - -QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->matchType()); -} - -QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::next(QRegularExpressionMatchIterator* theWrappedObject) -{ - return ( theWrappedObject->next()); -} - -QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator) -{ - return &( (*theWrappedObject)= iterator); -} - -QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::peekNext(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->peekNext()); -} - -QRegularExpression PythonQtWrapper_QRegularExpressionMatchIterator::regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->regularExpression()); -} - -void PythonQtWrapper_QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& iterator) -{ - ( theWrappedObject->swap(iterator)); -} - - - -PythonQtShell_QResource::~PythonQtShell_QResource() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) -{ -return new PythonQtShell_QResource(file, locale); } - -QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const -{ - return ( theWrappedObject->absoluteFilePath()); -} - -void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) -{ - (QResource::addSearchPath(path)); -} - -QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); -} - -const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const -{ - return ( theWrappedObject->isCompressed()); -} - -bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); -} - -bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); -} - -bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) -{ - return (QResource::registerResource(rccFilename, resourceRoot)); -} - -bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) -{ - return (QResource::registerResource(rccData, resourceRoot)); -} - -QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() -{ - return (QResource::searchPaths()); -} - -void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) -{ - ( theWrappedObject->setFileName(file)); -} - -void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) -{ - return (QResource::unregisterResource(rccFilename, resourceRoot)); -} - -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) -{ - return (QResource::unregisterResource(rccData, resourceRoot)); -} - - - -PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QRunnable::run() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("run"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() -{ -return new PythonQtShell_QRunnable(); } - -bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const -{ - return ( theWrappedObject->autoDelete()); -} - -void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QRunnable*)theWrappedObject)->promoted_run()); -} - -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)); -} - - - -PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::childEvent(arg__1); -} -void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::customEvent(arg__1); -} -int PythonQtShell_QSequentialAnimationGroup::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSequentialAnimationGroup::duration(); -} -bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSequentialAnimationGroup::event(event0); -} -bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSequentialAnimationGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::timerEvent(arg__1); -} -void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::updateCurrentTime(arg__1); -} -void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::updateDirection(direction0); -} -void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSequentialAnimationGroup::updateState(newState0, oldState1); -} -QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) -{ -return new PythonQtShell_QSequentialAnimationGroup(parent); } - -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) -{ - return ( theWrappedObject->addPause(msecs)); -} - -QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const -{ - return ( theWrappedObject->currentAnimation()); -} - -int PythonQtWrapper_QSequentialAnimationGroup::duration(QSequentialAnimationGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_duration()); -} - -bool PythonQtWrapper_QSequentialAnimationGroup::event(QSequentialAnimationGroup* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_event(event)); -} - -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) -{ - return ( theWrappedObject->insertPause(index, msecs)); -} - -void PythonQtWrapper_QSequentialAnimationGroup::updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1) -{ - ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateCurrentTime(arg__1)); -} - -void PythonQtWrapper_QSequentialAnimationGroup::updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction) -{ - ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateDirection(direction)); -} - -void PythonQtWrapper_QSequentialAnimationGroup::updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) -{ - ( ((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->promoted_updateState(newState, oldState)); -} - - - -PythonQtShell_QSettings::~PythonQtShell_QSettings() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSettings::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSettings::childEvent(arg__1); -} -void PythonQtShell_QSettings::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSettings::customEvent(arg__1); -} -bool PythonQtShell_QSettings::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSettings::event(event0); -} -bool PythonQtShell_QSettings::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSettings::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSettings::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSharedMemory::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSharedMemory::childEvent(arg__1); -} -void PythonQtShell_QSharedMemory::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSharedMemory::customEvent(arg__1); -} -bool PythonQtShell_QSharedMemory::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSharedMemory::event(arg__1); -} -bool PythonQtShell_QSharedMemory::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSharedMemory::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSharedMemory::timerEvent(arg__1); -} -QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(QObject* parent) -{ -return new PythonQtShell_QSharedMemory(parent); } - -QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(const QString& key, QObject* parent) -{ -return new PythonQtShell_QSharedMemory(key, parent); } - -bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) -{ - return ( theWrappedObject->attach(mode)); -} - -const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->constData()); -} - -bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) -{ - return ( theWrappedObject->create(size, mode)); -} - -void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->data()); -} - -const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->isAttached()); -} - -QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->lock()); -} - -QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->nativeKey()); -} - -void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) -{ - ( theWrappedObject->setKey(key)); -} - -void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) -{ - ( theWrappedObject->setNativeKey(key)); -} - -int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->unlock()); -} - - - -PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSignalMapper::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalMapper::childEvent(arg__1); -} -void PythonQtShell_QSignalMapper::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalMapper::customEvent(arg__1); -} -bool PythonQtShell_QSignalMapper::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSignalMapper::event(arg__1); -} -bool PythonQtShell_QSignalMapper::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSignalMapper::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, QWidget* widget) const -{ - return ( theWrappedObject->mapping(widget)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->mapping(text)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const -{ - return ( theWrappedObject->mapping(id)); -} - -void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) -{ - ( theWrappedObject->removeMappings(sender)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) -{ - ( theWrappedObject->setMapping(sender, object)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget) -{ - ( theWrappedObject->setMapping(sender, widget)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) -{ - ( theWrappedObject->setMapping(sender, text)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) -{ - ( theWrappedObject->setMapping(sender, id)); -} - - - -PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSignalTransition::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalTransition::childEvent(arg__1); -} -void PythonQtShell_QSignalTransition::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalTransition::customEvent(arg__1); -} -bool PythonQtShell_QSignalTransition::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSignalTransition::event(e0); -} -bool PythonQtShell_QSignalTransition::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSignalTransition::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSignalTransition::eventTest(event0); -} -void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalTransition::onTransition(event0); -} -void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QSignalTransition::timerEvent(arg__1); -} -QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) -{ -return new PythonQtShell_QSignalTransition(sourceState); } - -QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState) -{ -return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } - -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, const QObject* sender) -{ - ( theWrappedObject->setSenderObject(sender)); -} - -void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) -{ - ( theWrappedObject->setSignal(signal)); -} - -QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const -{ - return ( theWrappedObject->signal()); -} - - - -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()); -} - -QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_displayName(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::displayName(type)); -} - -void PythonQtWrapper_QStandardPaths::static_QStandardPaths_enableTestMode(bool testMode) -{ - (QStandardPaths::enableTestMode(testMode)); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths) -{ - return (QStandardPaths::findExecutable(executableName, paths)); -} - -bool PythonQtWrapper_QStandardPaths::static_QStandardPaths_isTestModeEnabled() -{ - return (QStandardPaths::isTestModeEnabled()); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) -{ - return (QStandardPaths::locate(type, fileName, options)); -} - -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) -{ - return (QStandardPaths::locateAll(type, fileName, options)); -} - -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::standardLocations(type)); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::writableLocation(type)); -} - - - -PythonQtShell_QState::~PythonQtShell_QState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QState::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QState::childEvent(arg__1); -} -void PythonQtShell_QState::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QState::customEvent(arg__1); -} -bool PythonQtShell_QState::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QState::event(e0); -} -bool PythonQtShell_QState::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QState::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QState::onEntry(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QState::onEntry(event0); -} -void PythonQtShell_QState::onExit(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QState::onExit(event0); -} -void PythonQtShell_QState::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP target) -{ - return ( theWrappedObject->addTransition(target)); -} - -void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) -{ - ( theWrappedObject->addTransition(transition)); -} - -QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) -{ - return ( theWrappedObject->addTransition(sender, signal, target)); -} - -void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) -{ - ( theWrappedObject->assignProperty(object, name, value)); -} - -QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const -{ - return ( theWrappedObject->childMode()); -} - -QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const -{ - return ( theWrappedObject->errorState()); -} - -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, PythonQtPassOwnershipToPython transition) -{ - ( theWrappedObject->removeTransition(transition)); -} - -void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) -{ - ( theWrappedObject->setChildMode(mode)); -} - -void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setErrorState(state)); -} - -void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setInitialState(state)); -} - -QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const -{ - return ( theWrappedObject->transitions()); -} - - - -PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("beginMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::beginMicrostep(event0); -} -void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("beginSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::beginSelectTransitions(event0); -} -void PythonQtShell_QStateMachine::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::childEvent(arg__1); -} -void PythonQtShell_QStateMachine::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::customEvent(arg__1); -} -void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("endMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::endMicrostep(event0); -} -void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("endSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::endSelectTransitions(event0); -} -bool PythonQtShell_QStateMachine::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QStateMachine::event(e0); -} -bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QStateMachine::eventFilter(watched0, event1); -} -void PythonQtShell_QStateMachine::onEntry(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::onEntry(event0); -} -void PythonQtShell_QStateMachine::onExit(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::onExit(event0); -} -void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QStateMachine::timerEvent(arg__1); -} -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) -{ -return new PythonQtShell_QStateMachine(parent); } - -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) -{ -return new PythonQtShell_QStateMachine(childMode, parent); } - -void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) -{ - ( theWrappedObject->addDefaultAnimation(animation)); -} - -void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP 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)); -} - -QState::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, PythonQtPassOwnershipToPython state) -{ - ( theWrappedObject->removeState(state)); -} - -void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAnimated(enabled)); -} - -void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) -{ - ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); -} - - - -QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) -{ -return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } - -QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->arguments()); -} - -QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->sender()); -} - -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)); -} - - - -PythonQtShell_QSysInfo::~PythonQtShell_QSysInfo() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSysInfo* PythonQtWrapper_QSysInfo::new_QSysInfo() -{ -return new PythonQtShell_QSysInfo(); } - - - -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)); -} - - - -QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir() -{ -return new QTemporaryDir(); } - -QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir(const QString& templateName) -{ -return new QTemporaryDir(templateName); } - -bool PythonQtWrapper_QTemporaryDir::autoRemove(QTemporaryDir* theWrappedObject) const -{ - return ( theWrappedObject->autoRemove()); -} - -bool PythonQtWrapper_QTemporaryDir::isValid(QTemporaryDir* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QTemporaryDir::path(QTemporaryDir* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -bool PythonQtWrapper_QTemporaryDir::remove(QTemporaryDir* theWrappedObject) -{ - return ( theWrappedObject->remove()); -} - -void PythonQtWrapper_QTemporaryDir::setAutoRemove(QTemporaryDir* theWrappedObject, bool b) -{ - ( theWrappedObject->setAutoRemove(b)); -} - - - -PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QTemporaryFile::atEnd() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::atEnd(); -} -qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::bytesAvailable(); -} -qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::bytesToWrite(); -} -bool PythonQtShell_QTemporaryFile::canReadLine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::canReadLine(); -} -void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTemporaryFile::childEvent(arg__1); -} -void PythonQtShell_QTemporaryFile::close() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTemporaryFile::close(); -} -void PythonQtShell_QTemporaryFile::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTemporaryFile::customEvent(arg__1); -} -bool PythonQtShell_QTemporaryFile::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::event(arg__1); -} -bool PythonQtShell_QTemporaryFile::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QTemporaryFile::isSequential() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::isSequential(); -} -bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::open(flags0); -} -QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::permissions(); -} -qint64 PythonQtShell_QTemporaryFile::pos() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::pos(); -} -qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::readData(data0, maxlen1); -} -qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::readLineData(data0, maxlen1); -} -bool PythonQtShell_QTemporaryFile::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::reset(); -} -bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::resize(sz0); -} -bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::seek(offset0); -} -bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::setPermissions(permissionSpec0); -} -qint64 PythonQtShell_QTemporaryFile::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::size(); -} -void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTemporaryFile::timerEvent(arg__1); -} -bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTemporaryFile::writeData(data0, len1); -} -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)); -} - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(QFile& file) -{ - return (QTemporaryFile::createNativeFile(file)); -} - -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(const QString& fileName) -{ - return (QTemporaryFile::createNativeFile(fileName)); -} - -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()); -} - - - -PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QList PythonQtShell_QTextCodec::aliases() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("aliases"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextCodec::aliases(); -} -QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("convertFromUnicode"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&in0, (void*)&length1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QByteArray(); -} -QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("convertToUnicode"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&in0, (void*)&length1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QString(); -} -int PythonQtShell_QTextCodec::mibEnum() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mibEnum"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mibEnum", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -QByteArray PythonQtShell_QTextCodec::name() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("name"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QByteArray(); -} -QTextCodec* PythonQtWrapper_QTextCodec::new_QTextCodec() -{ -return new PythonQtShell_QTextCodec(); } - -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_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::convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const -{ - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertFromUnicode(in, length, state)); -} - -QString PythonQtWrapper_QTextCodec::convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const -{ - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertToUnicode(in, length, state)); -} - -QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const -{ - return ( theWrappedObject->fromUnicode(uc)); -} - -QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const -{ - return ( theWrappedObject->makeDecoder(flags)); -} - -QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const -{ - return ( theWrappedObject->makeEncoder(flags)); -} - -int PythonQtWrapper_QTextCodec::mibEnum(QTextCodec* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_mibEnum()); -} - -QByteArray PythonQtWrapper_QTextCodec::name(QTextCodec* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_name()); -} - -void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) -{ - (QTextCodec::setCodecForLocale(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); } - -QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) -{ -return new QTextDecoder(codec, flags); } - -bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const -{ - return ( theWrappedObject->hasFailure()); -} - -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); } - -QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) -{ -return new QTextEncoder(codec, flags); } - -QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) -{ - return ( theWrappedObject->fromUnicode(str)); -} - -bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const -{ - return ( theWrappedObject->hasFailure()); -} - - - -PythonQtShell_QTextStream::~PythonQtShell_QTextStream() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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::__lshift__(QTextStream* theWrappedObject, QLatin1String s) -{ - 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()); -} - - - -PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QThreadPool::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QThreadPool::childEvent(arg__1); -} -void PythonQtShell_QThreadPool::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QThreadPool::customEvent(arg__1); -} -bool PythonQtShell_QThreadPool::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QThreadPool::event(arg__1); -} -bool PythonQtShell_QThreadPool::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QThreadPool::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDone(msecs)); -} - - - -PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTimeLine::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeLine::childEvent(arg__1); -} -void PythonQtShell_QTimeLine::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeLine::customEvent(arg__1); -} -bool PythonQtShell_QTimeLine::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeLine::event(arg__1); -} -bool PythonQtShell_QTimeLine::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeLine::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeLine::timerEvent(event0); -} -qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("valueForTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qreal" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - qreal returnValue; - void* args[2] = {NULL, (void*)&msec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTimeLine::valueForTime(msec0); -} -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)); -} - - - -PythonQtShell_QTimer::~PythonQtShell_QTimer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTimer::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimer::childEvent(arg__1); -} -void PythonQtShell_QTimer::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimer::customEvent(arg__1); -} -bool PythonQtShell_QTimer::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimer::event(arg__1); -} -bool PythonQtShell_QTimer::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimer::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -int PythonQtWrapper_QTimer::remainingTime(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->remainingTime()); -} - -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::setTimerType(QTimer* theWrappedObject, Qt::TimerType atype) -{ - ( theWrappedObject->setTimerType(atype)); -} - -void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member) -{ - (QTimer::singleShot(msec, timerType, receiver, member)); -} - -void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, const 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()); -} - -Qt::TimerType PythonQtWrapper_QTimer::timerType(QTimer* theWrappedObject) const -{ - return ( theWrappedObject->timerType()); -} - - - -PythonQtShell_QTimerEvent::~PythonQtShell_QTimerEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) -{ -return new PythonQtShell_QTimerEvent(timerId); } - -int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const -{ - return ( theWrappedObject->timerId()); -} - - - -PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTranslator::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTranslator::childEvent(arg__1); -} -void PythonQtShell_QTranslator::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTranslator::customEvent(arg__1); -} -bool PythonQtShell_QTranslator::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTranslator::event(arg__1); -} -bool PythonQtShell_QTranslator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTranslator::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QTranslator::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTranslator::isEmpty(); -} -void PythonQtShell_QTranslator::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTranslator::timerEvent(arg__1); -} -QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("translate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const char*" , "const char*" , "const char*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QString returnValue; - void* args[5] = {NULL, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTranslator::translate(context0, sourceText1, disambiguation2, n3); -} -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 QLocale& locale, const QString& filename, const QString& prefix, const QString& directory, const QString& suffix) -{ - return ( theWrappedObject->load(locale, filename, prefix, directory, suffix)); -} - -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, const QString& directory) -{ - return ( theWrappedObject->load(data, len, directory)); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.h deleted file mode 100644 index 46007c426..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core2.h +++ /dev/null @@ -1,1215 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtWrapper_QRegularExpressionMatchIterator : public QObject -{ Q_OBJECT -public: -public slots: -QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator); -void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj) { delete obj; } - bool hasNext(QRegularExpressionMatchIterator* theWrappedObject) const; - bool isValid(QRegularExpressionMatchIterator* theWrappedObject) const; - QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const; - QRegularExpression::MatchType matchType(QRegularExpressionMatchIterator* theWrappedObject) const; - QRegularExpressionMatch next(QRegularExpressionMatchIterator* theWrappedObject); - QRegularExpressionMatchIterator* operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator); - QRegularExpressionMatch peekNext(QRegularExpressionMatchIterator* theWrappedObject) const; - QRegularExpression regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const; - void swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& iterator); -}; - - - - - -class PythonQtShell_QResource : public QResource -{ -public: - PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(NULL) {}; - - ~PythonQtShell_QResource(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QResource : public QResource -{ public: -inline QStringList promoted_children() const { return QResource::children(); } -inline bool promoted_isDir() const { return QResource::isDir(); } -inline bool promoted_isFile() const { return QResource::isFile(); } -}; - -class PythonQtWrapper_QResource : public QObject -{ Q_OBJECT -public: -public slots: -QResource* new_QResource(const QString& file = QString(), const QLocale& locale = QLocale()); -void delete_QResource(QResource* obj) { delete obj; } - QString absoluteFilePath(QResource* theWrappedObject) const; - void static_QResource_addSearchPath(const QString& path); - QStringList children(QResource* theWrappedObject) const; - const uchar* data(QResource* theWrappedObject) const; - QString fileName(QResource* theWrappedObject) const; - bool isCompressed(QResource* theWrappedObject) const; - bool isDir(QResource* theWrappedObject) const; - bool isFile(QResource* theWrappedObject) const; - bool isValid(QResource* theWrappedObject) const; - QLocale locale(QResource* theWrappedObject) const; - bool static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot = QString()); - bool static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot = QString()); - QStringList static_QResource_searchPaths(); - void setFileName(QResource* theWrappedObject, const QString& file); - void setLocale(QResource* theWrappedObject, const QLocale& locale); - qint64 size(QResource* theWrappedObject) const; - bool static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot = QString()); - bool static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot = QString()); -}; - - - - - -class PythonQtShell_QRunnable : public QRunnable -{ -public: - PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; - - ~PythonQtShell_QRunnable(); - -virtual void run(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRunnable : public QRunnable -{ public: -inline void promoted_run() { this->run(); } -}; - -class PythonQtWrapper_QRunnable : public QObject -{ Q_OBJECT -public: -public slots: -QRunnable* new_QRunnable(); -void delete_QRunnable(QRunnable* obj) { delete obj; } - bool autoDelete(QRunnable* theWrappedObject) const; - void run(QRunnable* theWrappedObject); - void 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) {}; - - ~PythonQtShell_QSequentialAnimationGroup(); - -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) {}; - - ~PythonQtShell_QSettings(); - -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 Scope Status ) -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 Scope{ - UserScope = QSettings::UserScope, SystemScope = QSettings::SystemScope}; -enum Status{ - NoError = QSettings::NoError, AccessError = QSettings::AccessError, FormatError = QSettings::FormatError}; -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_QSharedMemory : public QSharedMemory -{ -public: - PythonQtShell_QSharedMemory(QObject* parent = 0):QSharedMemory(parent),_wrapper(NULL) {}; - PythonQtShell_QSharedMemory(const QString& key, QObject* parent = 0):QSharedMemory(key, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSharedMemory(); - -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_QSharedMemory : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AccessMode SharedMemoryError ) -enum AccessMode{ - ReadOnly = QSharedMemory::ReadOnly, ReadWrite = QSharedMemory::ReadWrite}; -enum SharedMemoryError{ - NoError = QSharedMemory::NoError, PermissionDenied = QSharedMemory::PermissionDenied, InvalidSize = QSharedMemory::InvalidSize, KeyError = QSharedMemory::KeyError, AlreadyExists = QSharedMemory::AlreadyExists, NotFound = QSharedMemory::NotFound, LockError = QSharedMemory::LockError, OutOfResources = QSharedMemory::OutOfResources, UnknownError = QSharedMemory::UnknownError}; -public slots: -QSharedMemory* new_QSharedMemory(QObject* parent = 0); -QSharedMemory* new_QSharedMemory(const QString& key, QObject* parent = 0); -void delete_QSharedMemory(QSharedMemory* obj) { delete obj; } - bool attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); - const void* constData(QSharedMemory* theWrappedObject) const; - bool create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); - void* data(QSharedMemory* theWrappedObject); - const void* data(QSharedMemory* theWrappedObject) const; - QSharedMemory::SharedMemoryError error(QSharedMemory* theWrappedObject) const; - QString errorString(QSharedMemory* theWrappedObject) const; - bool isAttached(QSharedMemory* theWrappedObject) const; - QString key(QSharedMemory* theWrappedObject) const; - bool lock(QSharedMemory* theWrappedObject); - QString nativeKey(QSharedMemory* theWrappedObject) const; - void setKey(QSharedMemory* theWrappedObject, const QString& key); - void setNativeKey(QSharedMemory* theWrappedObject, const QString& key); - int size(QSharedMemory* theWrappedObject) const; - bool unlock(QSharedMemory* theWrappedObject); -}; - - - - - -class PythonQtShell_QSignalMapper : public QSignalMapper -{ -public: - PythonQtShell_QSignalMapper(QObject* parent = 0):QSignalMapper(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalMapper(); - -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, QWidget* widget) const; - QObject* mapping(QSignalMapper* theWrappedObject, const QString& text) const; - QObject* mapping(QSignalMapper* theWrappedObject, int id) const; - void removeMappings(QSignalMapper* theWrappedObject, QObject* sender); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); -}; - - - - - -class PythonQtShell_QSignalTransition : public QSignalTransition -{ -public: - PythonQtShell_QSignalTransition(QState* sourceState = 0):QSignalTransition(sourceState),_wrapper(NULL) {}; - PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = 0):QSignalTransition(sender, signal, sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalTransition(); - -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(QState* sourceState = 0); -QSignalTransition* new_QSignalTransition(const QObject* sender, const char* signal, 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, const QObject* sender); - void setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal); - QByteArray signal(QSignalTransition* theWrappedObject) const; -}; - - - - - -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: -void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } - bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1); - bool isEnabled(QSocketNotifier* theWrappedObject) const; - QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QStandardPaths : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LocateOption StandardLocation ) -Q_FLAGS(LocateOptions ) -enum LocateOption{ - LocateFile = QStandardPaths::LocateFile, LocateDirectory = QStandardPaths::LocateDirectory}; -enum StandardLocation{ - DesktopLocation = QStandardPaths::DesktopLocation, DocumentsLocation = QStandardPaths::DocumentsLocation, FontsLocation = QStandardPaths::FontsLocation, ApplicationsLocation = QStandardPaths::ApplicationsLocation, MusicLocation = QStandardPaths::MusicLocation, MoviesLocation = QStandardPaths::MoviesLocation, PicturesLocation = QStandardPaths::PicturesLocation, TempLocation = QStandardPaths::TempLocation, HomeLocation = QStandardPaths::HomeLocation, DataLocation = QStandardPaths::DataLocation, CacheLocation = QStandardPaths::CacheLocation, GenericDataLocation = QStandardPaths::GenericDataLocation, RuntimeLocation = QStandardPaths::RuntimeLocation, ConfigLocation = QStandardPaths::ConfigLocation, DownloadLocation = QStandardPaths::DownloadLocation, GenericCacheLocation = QStandardPaths::GenericCacheLocation}; -Q_DECLARE_FLAGS(LocateOptions, LocateOption) -public slots: - QString static_QStandardPaths_displayName(QStandardPaths::StandardLocation type); - void static_QStandardPaths_enableTestMode(bool testMode); - QString static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths = QStringList()); - bool static_QStandardPaths_isTestModeEnabled(); - QString static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); - QStringList static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); - QStringList static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type); - QString static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type); -}; - - - - - -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) {}; - - ~PythonQtShell_QState(); - -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, PythonQtPassOwnershipToCPP target); - void addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition); - QSignalTransition* addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target); - void assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value); - QState::ChildMode childMode(QState* theWrappedObject) const; - QAbstractState* errorState(QState* theWrappedObject) const; - bool 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, PythonQtPassOwnershipToPython transition); - void setChildMode(QState* theWrappedObject, QState::ChildMode mode); - void setErrorState(QState* theWrappedObject, QAbstractState* state); - void setInitialState(QState* theWrappedObject, QAbstractState* state); - QList transitions(QState* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QStateMachine : public QStateMachine -{ -public: - PythonQtShell_QStateMachine(QObject* parent = 0):QStateMachine(parent),_wrapper(NULL) {}; - PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = 0):QStateMachine(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStateMachine(); - -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); -QStateMachine* new_QStateMachine(QState::ChildMode childMode, QObject* parent = 0); -void delete_QStateMachine(QStateMachine* obj) { delete obj; } - void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); - void addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state); - void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); - 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); - QState::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, PythonQtPassOwnershipToPython state); - void setAnimated(QStateMachine* theWrappedObject, bool enabled); - void setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::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 PythonQtShell_QSysInfo : public QSysInfo -{ -public: - PythonQtShell_QSysInfo():QSysInfo(),_wrapper(NULL) {}; - - ~PythonQtShell_QSysInfo(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSysInfo : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Sizes ) -enum Sizes{ - WordSize = QSysInfo::WordSize}; -public slots: -QSysInfo* new_QSysInfo(); -void delete_QSysInfo(QSysInfo* obj) { delete obj; } -}; - - - - - -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 PythonQtWrapper_QTemporaryDir : public QObject -{ Q_OBJECT -public: -public slots: -QTemporaryDir* new_QTemporaryDir(); -QTemporaryDir* new_QTemporaryDir(const QString& templateName); -void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } - bool autoRemove(QTemporaryDir* theWrappedObject) const; - bool isValid(QTemporaryDir* theWrappedObject) const; - QString path(QTemporaryDir* theWrappedObject) const; - bool remove(QTemporaryDir* theWrappedObject); - void setAutoRemove(QTemporaryDir* theWrappedObject, bool b); -}; - - - - - -class PythonQtShell_QTemporaryFile : public QTemporaryFile -{ -public: - PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTemporaryFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void 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 flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual 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 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); - QTemporaryFile* static_QTemporaryFile_createNativeFile(QFile& file); - QTemporaryFile* static_QTemporaryFile_createNativeFile(const QString& fileName); - 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, BreakOpportunity = QTextBoundaryFinder::BreakOpportunity, StartOfItem = QTextBoundaryFinder::StartOfItem, EndOfItem = QTextBoundaryFinder::EndOfItem, MandatoryBreak = QTextBoundaryFinder::MandatoryBreak, SoftHyphen = QTextBoundaryFinder::SoftHyphen}; -enum BoundaryType{ - Grapheme = QTextBoundaryFinder::Grapheme, Word = QTextBoundaryFinder::Word, Sentence = QTextBoundaryFinder::Sentence, Line = QTextBoundaryFinder::Line}; -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) {}; - - ~PythonQtShell_QTextCodec(); - -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(); } -inline QByteArray promoted_convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const { return this->convertFromUnicode(in, length, state); } -inline QString promoted_convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const { return this->convertToUnicode(in, length, state); } -inline int promoted_mibEnum() const { return this->mibEnum(); } -inline QByteArray promoted_name() const { return this->name(); } -}; - -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: -QTextCodec* new_QTextCodec(); - 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_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 convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const; - QString convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const; - QByteArray fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const; - QTextDecoder* makeDecoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const; - QTextEncoder* makeEncoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const; - int mibEnum(QTextCodec* theWrappedObject) const; - QByteArray name(QTextCodec* theWrappedObject) const; - void static_QTextCodec_setCodecForLocale(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); -QTextDecoder* new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); -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); -QTextEncoder* new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); -void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } - QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); - bool hasFailure(QTextEncoder* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextStream : public QTextStream -{ -public: - PythonQtShell_QTextStream():QTextStream(),_wrapper(NULL) {}; - PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(NULL) {}; - PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(NULL) {}; - - ~PythonQtShell_QTextStream(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextStream : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FieldAlignment NumberFlag RealNumberNotation Status ) -Q_FLAGS(NumberFlags ) -enum FieldAlignment{ - AlignLeft = QTextStream::AlignLeft, AlignRight = QTextStream::AlignRight, AlignCenter = QTextStream::AlignCenter, AlignAccountingStyle = QTextStream::AlignAccountingStyle}; -enum NumberFlag{ - ShowBase = QTextStream::ShowBase, ForcePoint = QTextStream::ForcePoint, ForceSign = QTextStream::ForceSign, UppercaseBase = QTextStream::UppercaseBase, UppercaseDigits = QTextStream::UppercaseDigits}; -enum RealNumberNotation{ - SmartNotation = QTextStream::SmartNotation, FixedNotation = QTextStream::FixedNotation, ScientificNotation = QTextStream::ScientificNotation}; -enum Status{ - Ok = QTextStream::Ok, ReadPastEnd = QTextStream::ReadPastEnd, ReadCorruptData = QTextStream::ReadCorruptData, WriteFailed = QTextStream::WriteFailed}; -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* __lshift__(QTextStream* theWrappedObject, QLatin1String s); - 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) {}; - - ~PythonQtShell_QThreadPool(); - -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); - bool waitForDone(QThreadPool* theWrappedObject, int msecs = -1); -}; - - - - - -class PythonQtShell_QTimeLine : public QTimeLine -{ -public: - PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = 0):QTimeLine(duration, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTimeLine(); - -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(CurveShape Direction State ) -enum CurveShape{ - EaseInCurve = QTimeLine::EaseInCurve, EaseOutCurve = QTimeLine::EaseOutCurve, EaseInOutCurve = QTimeLine::EaseInOutCurve, LinearCurve = QTimeLine::LinearCurve, SineCurve = QTimeLine::SineCurve, CosineCurve = QTimeLine::CosineCurve}; -enum Direction{ - Forward = QTimeLine::Forward, Backward = QTimeLine::Backward}; -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) {}; - - ~PythonQtShell_QTimer(); - -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; - int remainingTime(QTimer* theWrappedObject) const; - void setInterval(QTimer* theWrappedObject, int msec); - void setSingleShot(QTimer* theWrappedObject, bool singleShot); - void setTimerType(QTimer* theWrappedObject, Qt::TimerType atype); - void static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member); - void static_QTimer_singleShot(int msec, const QObject* receiver, const char* member); - void timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1); - int timerId(QTimer* theWrappedObject) const; - Qt::TimerType timerType(QTimer* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTimerEvent : public QTimerEvent -{ -public: - PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; - - ~PythonQtShell_QTimerEvent(); - - - 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) {}; - - ~PythonQtShell_QTranslator(); - -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, int n = -1) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTranslator : public QTranslator -{ public: -inline bool promoted_isEmpty() const { return QTranslator::isEmpty(); } -}; - -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 QLocale& locale, const QString& filename, const QString& prefix = QString(), const QString& directory = QString(), const QString& suffix = QString()); - 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, const QString& directory = QString()); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp deleted file mode 100644 index ab0497af3..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ /dev/null @@ -1,724 +0,0 @@ -#include "com_trolltech_qt_core3.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery() -{ -return new QUrlQuery(); } - -QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QString& queryString) -{ -return new QUrlQuery(queryString); } - -QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QUrl& url) -{ -return new QUrlQuery(url); } - -QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QUrlQuery& other) -{ -return new QUrlQuery(other); } - -void PythonQtWrapper_QUrlQuery::addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value) -{ - ( theWrappedObject->addQueryItem(key, value)); -} - -QStringList PythonQtWrapper_QUrlQuery::allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->allQueryItemValues(key, encoding)); -} - -void PythonQtWrapper_QUrlQuery::clear(QUrlQuery* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryPairDelimiter() -{ - return (QUrlQuery::defaultQueryPairDelimiter()); -} - -QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryValueDelimiter() -{ - return (QUrlQuery::defaultQueryValueDelimiter()); -} - -bool PythonQtWrapper_QUrlQuery::hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->hasQueryItem(key)); -} - -bool PythonQtWrapper_QUrlQuery::isEmpty(QUrlQuery* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QUrlQuery::__ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QUrlQuery::__eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const -{ - return ( (*theWrappedObject)== other); -} - -QString PythonQtWrapper_QUrlQuery::query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->query(encoding)); -} - -QString PythonQtWrapper_QUrlQuery::queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->queryItemValue(key, encoding)); -} - -QList > PythonQtWrapper_QUrlQuery::queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->queryItems(encoding)); -} - -QChar PythonQtWrapper_QUrlQuery::queryPairDelimiter(QUrlQuery* theWrappedObject) const -{ - return ( theWrappedObject->queryPairDelimiter()); -} - -QChar PythonQtWrapper_QUrlQuery::queryValueDelimiter(QUrlQuery* theWrappedObject) const -{ - return ( theWrappedObject->queryValueDelimiter()); -} - -void PythonQtWrapper_QUrlQuery::removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeAllQueryItems(key)); -} - -void PythonQtWrapper_QUrlQuery::removeQueryItem(QUrlQuery* theWrappedObject, const QString& key) -{ - ( theWrappedObject->removeQueryItem(key)); -} - -void PythonQtWrapper_QUrlQuery::setQuery(QUrlQuery* theWrappedObject, const QString& queryString) -{ - ( theWrappedObject->setQuery(queryString)); -} - -void PythonQtWrapper_QUrlQuery::setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter) -{ - ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); -} - -void PythonQtWrapper_QUrlQuery::setQueryItems(QUrlQuery* theWrappedObject, const QList >& query) -{ - ( theWrappedObject->setQueryItems(query)); -} - -void PythonQtWrapper_QUrlQuery::swap(QUrlQuery* theWrappedObject, QUrlQuery& other) -{ - ( theWrappedObject->swap(other)); -} - -QString PythonQtWrapper_QUrlQuery::toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->toString(encoding)); -} - -QString PythonQtWrapper_QUrlQuery::py_toString(QUrlQuery* obj) { return obj->toString(); } - - -PythonQtShell_QUuid::~PythonQtShell_QUuid() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QUuid* PythonQtWrapper_QUuid::new_QUuid() -{ -return new PythonQtShell_QUuid(); } - -QUuid* PythonQtWrapper_QUuid::new_QUuid(const QByteArray& arg__1) -{ -return new PythonQtShell_QUuid(arg__1); } - -QUuid* PythonQtWrapper_QUuid::new_QUuid(const QString& arg__1) -{ -return new PythonQtShell_QUuid(arg__1); } - -QUuid* PythonQtWrapper_QUuid::new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8) -{ -return new PythonQtShell_QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8); } - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() -{ - return (QUuid::createUuid()); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData) -{ - return (QUuid::createUuidV3(ns, baseData)); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData) -{ - return (QUuid::createUuidV3(ns, baseData)); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData) -{ - return (QUuid::createUuidV5(ns, baseData)); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData) -{ - return (QUuid::createUuidV5(ns, baseData)); -} - -QUuid PythonQtWrapper_QUuid::static_QUuid_fromRfc4122(const QByteArray& arg__1) -{ - return (QUuid::fromRfc4122(arg__1)); -} - -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); -} - -QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->toByteArray()); -} - -QByteArray PythonQtWrapper_QUuid::toRfc4122(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->toRfc4122()); -} - -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(); } - - -PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::childEvent(arg__1); -} -void PythonQtShell_QVariantAnimation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::customEvent(arg__1); -} -int PythonQtShell_QVariantAnimation::duration() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariantAnimation::duration(); -} -bool PythonQtShell_QVariantAnimation::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariantAnimation::event(event0); -} -bool PythonQtShell_QVariantAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariantAnimation::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("interpolated"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariantAnimation::interpolated(from0, to1, progress2); -} -void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::timerEvent(arg__1); -} -void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::updateCurrentTime(arg__1); -} -void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateCurrentValue"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::updateCurrentValue(value0); -} -void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::updateDirection(direction0); -} -void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVariantAnimation::updateState(newState0, oldState1); -} -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::updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); -} - -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* lockedMutex, unsigned long time) -{ - return ( theWrappedObject->wait(lockedMutex, time)); -} - -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time) -{ - return ( theWrappedObject->wait(lockedReadWriteLock, time)); -} - -void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) -{ - ( theWrappedObject->wakeAll()); -} - -void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) -{ - ( theWrappedObject->wakeOne()); -} - - - -PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resolveEntity"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&publicId0, (void*)&systemId1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QXmlStreamEntityResolver::resolveEntity(publicId0, systemId1); -} -QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resolveUndeclaredEntity"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&name0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QXmlStreamEntityResolver::resolveUndeclaredEntity(name0); -} -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_50/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.h deleted file mode 100644 index 954e4825f..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core3.h +++ /dev/null @@ -1,235 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtWrapper_QUrlQuery : public QObject -{ Q_OBJECT -public: -public slots: -QUrlQuery* new_QUrlQuery(); -QUrlQuery* new_QUrlQuery(const QString& queryString); -QUrlQuery* new_QUrlQuery(const QUrl& url); -QUrlQuery* new_QUrlQuery(const QUrlQuery& other); -void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } - void addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value); - QStringList allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; - void clear(QUrlQuery* theWrappedObject); - QChar static_QUrlQuery_defaultQueryPairDelimiter(); - QChar static_QUrlQuery_defaultQueryValueDelimiter(); - bool hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const; - bool isEmpty(QUrlQuery* theWrappedObject) const; - bool __ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; - QUrlQuery* operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other); - bool __eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; - QString query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; - QString queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; - QList > queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; - QChar queryPairDelimiter(QUrlQuery* theWrappedObject) const; - QChar queryValueDelimiter(QUrlQuery* theWrappedObject) const; - void removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key); - void removeQueryItem(QUrlQuery* theWrappedObject, const QString& key); - void setQuery(QUrlQuery* theWrappedObject, const QString& queryString); - void setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter); - void setQueryItems(QUrlQuery* theWrappedObject, const QList >& query); - void swap(QUrlQuery* theWrappedObject, QUrlQuery& other); - QString toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; - QString py_toString(QUrlQuery*); -}; - - - - - -class PythonQtShell_QUuid : public QUuid -{ -public: - PythonQtShell_QUuid():QUuid(),_wrapper(NULL) {}; - PythonQtShell_QUuid(const QByteArray& arg__1):QUuid(arg__1),_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) {}; - - ~PythonQtShell_QUuid(); - - - 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, Md5 = QUuid::Md5, Name = QUuid::Name, Random = QUuid::Random, Sha1 = QUuid::Sha1}; -public slots: -QUuid* new_QUuid(); -QUuid* new_QUuid(const QByteArray& arg__1); -QUuid* new_QUuid(const QString& arg__1); -QUuid* new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8); -QUuid* new_QUuid(const QUuid& other) { -PythonQtShell_QUuid* a = new PythonQtShell_QUuid(); -*((QUuid*)a) = other; -return a; } -void delete_QUuid(QUuid* obj) { delete obj; } - QUuid static_QUuid_createUuid(); - QUuid static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData); - QUuid static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData); - QUuid static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData); - QUuid static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData); - QUuid static_QUuid_fromRfc4122(const QByteArray& arg__1); - 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); - QByteArray toByteArray(QUuid* theWrappedObject) const; - QByteArray toRfc4122(QUuid* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QVariantAnimation(); - -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_updateCurrentValue(const QVariant& value) { QVariantAnimation::updateCurrentValue(value); } -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 updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value); - 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* lockedMutex, unsigned long time = ULONG_MAX); - bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time = ULONG_MAX); - void wakeAll(QWaitCondition* theWrappedObject); - void wakeOne(QWaitCondition* theWrappedObject); -}; - - - - - -class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver -{ -public: - PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlStreamEntityResolver(); - -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); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp deleted file mode 100644 index 30c38a733..000000000 --- a/generated_cpp_50/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include -#include -#include "com_trolltech_qt_core0.h" -#include "com_trolltech_qt_core1.h" -#include "com_trolltech_qt_core2.h" -#include "com_trolltech_qt_core3.h" - -static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) -{ - Q_ASSERT(ptr != 0); - QEvent *object = (QEvent *)ptr; - if (object->type() == QEvent::ChildAdded || object->type() == QEvent::ChildPolished || object->type() == QEvent::ChildRemoved) { - *class_name = "QChildEvent"; - return (QChildEvent*)object; - } - if (object->type() == QEvent::DynamicPropertyChange) { - *class_name = "QDynamicPropertyChangeEvent"; - return (QDynamicPropertyChangeEvent*)object; - } - if (object->type() == QEvent::None) { - *class_name = "QEvent"; - return (QEvent*)object; - } - if (object->type() == QEvent::StateMachineSignal) { - *class_name = "QStateMachine__SignalEvent"; - return (QStateMachine::SignalEvent*)object; - } - if (object->type() == QEvent::StateMachineWrapped) { - *class_name = "QStateMachine__WrappedEvent"; - return (QStateMachine::WrappedEvent*)object; - } - if (object->type() == QEvent::Timer) { - *class_name = "QTimerEvent"; - return (QTimerEvent*)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("QBasicMutex", "", "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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, NULL, 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("QElapsedTimer", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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()->registerClass(&QFileDevice::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()->registerClass(&QIdentityProxyModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QJsonArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QJsonDocument", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QJsonObject", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QJsonParseError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QJsonValue", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QLibrary::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMessageLogContext", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMimeType", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMutex", "QBasicMutex", "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()->registerCPPClass("QPersistentModelIndex", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -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("QRegularExpression", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRegularExpressionMatch", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QRegularExpressionMatchIterator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QResource", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, 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(&QSharedMemory::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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, NULL, 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("QSysInfo", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "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("QUrlQuery", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QVariantAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); - -PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); - -PythonQtRegisterListTemplateConverterForKnownClass(QList, QFileInfo); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QMimeType); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); -} diff --git a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri deleted file mode 100644 index 181c29c57..000000000 --- a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri +++ /dev/null @@ -1,6 +0,0 @@ -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_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp deleted file mode 100644 index 72a2a0ea5..000000000 --- a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp +++ /dev/null @@ -1,3775 +0,0 @@ -#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 - -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& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QBitArray PythonQtWrapper_QBitArray::__and__(QBitArray* theWrappedObject, const QBitArray& arg__2) -{ - return ( (*theWrappedObject)& arg__2); -} - -QBitArray* PythonQtWrapper_QBitArray::__iand__(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)&= arg__1); -} - -void PythonQtWrapper_QBitArray::writeTo(QBitArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -QBitArray* PythonQtWrapper_QBitArray::operator_assign(QBitArray* theWrappedObject, const QBitArray& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QBitArray::__eq__(QBitArray* theWrappedObject, const QBitArray& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QBitArray::readFrom(QBitArray* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QBitArray PythonQtWrapper_QBitArray::__xor__(QBitArray* theWrappedObject, const QBitArray& arg__2) -{ - return ( (*theWrappedObject)^ arg__2); -} - -QBitArray* PythonQtWrapper_QBitArray::__ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)^= arg__1); -} - -QBitArray PythonQtWrapper_QBitArray::__or__(QBitArray* theWrappedObject, const QBitArray& arg__2) -{ - return ( (*theWrappedObject)| arg__2); -} - -QBitArray* PythonQtWrapper_QBitArray::__ior__(QBitArray* theWrappedObject, const QBitArray& arg__1) -{ - return &( (*theWrappedObject)|= arg__1); -} - -QBitArray PythonQtWrapper_QBitArray::__invert__(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->operator~()); -} - -void PythonQtWrapper_QBitArray::resize(QBitArray* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i) -{ - ( theWrappedObject->setBit(i)); -} - -void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i, bool val) -{ - ( theWrappedObject->setBit(i, val)); -} - -int PythonQtWrapper_QBitArray::size(QBitArray* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QBitArray::swap(QBitArray* theWrappedObject, QBitArray& other) -{ - ( theWrappedObject->swap(other)); -} - -bool PythonQtWrapper_QBitArray::testBit(QBitArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->testBit(i)); -} - -bool PythonQtWrapper_QBitArray::toggleBit(QBitArray* theWrappedObject, int i) -{ - return ( theWrappedObject->toggleBit(i)); -} - -void PythonQtWrapper_QBitArray::truncate(QBitArray* theWrappedObject, int pos) -{ - ( theWrappedObject->truncate(pos)); -} - -QString PythonQtWrapper_QBitArray::py_toString(QBitArray* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray() -{ -return new QByteArray(); } - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(const QByteArray& arg__1) -{ -return new QByteArray(arg__1); } - -QByteArray* PythonQtWrapper_QByteArray::new_QByteArray(int size, char c) -{ -return new QByteArray(size, c); } - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, char c) -{ - return &( theWrappedObject->append(c)); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QByteArray& a) -{ - return &( theWrappedObject->append(a)); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QString& s) -{ - return &( theWrappedObject->append(s)); -} - -QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const char* s, int len) -{ - return &( theWrappedObject->append(s, len)); -} - -char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const -{ - return ( theWrappedObject->at(i)); -} - -int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); -} - -const char* PythonQtWrapper_QByteArray::cbegin(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->cbegin()); -} - -const char* PythonQtWrapper_QByteArray::cend(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->cend()); -} - -void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) -{ - ( theWrappedObject->chop(n)); -} - -void PythonQtWrapper_QByteArray::clear(QByteArray* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->contains(c)); -} - -bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->contains(a)); -} - -bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const char* a) const -{ - return ( theWrappedObject->contains(a)); -} - -int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->count(c)); -} - -int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->count(a)); -} - -bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->endsWith(c)); -} - -bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->endsWith(a)); -} - -QByteArray* PythonQtWrapper_QByteArray::fill(QByteArray* theWrappedObject, char c, int size) -{ - return &( theWrappedObject->fill(c, size)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64) -{ - return (QByteArray::fromBase64(base64)); -} - -QByteArray PythonQtWrapper_QByteArray::static_QByteArray_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()); -} - -bool PythonQtWrapper_QByteArray::isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) const -{ - return ( theWrappedObject->isSharedWith(other)); -} - -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)); -} - -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)); -} - -QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen) -{ - return &( theWrappedObject->replace(index, len, s, alen)); -} - -void PythonQtWrapper_QByteArray::reserve(QByteArray* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -void PythonQtWrapper_QByteArray::resize(QByteArray* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); -} - -QByteArray PythonQtWrapper_QByteArray::right(QByteArray* theWrappedObject, int len) const -{ - return ( theWrappedObject->right(len)); -} - -QByteArray PythonQtWrapper_QByteArray::rightJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const -{ - return ( theWrappedObject->rightJustified(width, fill, truncate)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, double arg__1, char f, int prec) -{ - return &( theWrappedObject->setNum(arg__1, f, prec)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, float arg__1, char f, int prec) -{ - return &( theWrappedObject->setNum(arg__1, f, prec)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, int arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - -QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, short arg__1, int base) -{ - return &( theWrappedObject->setNum(arg__1, base)); -} - -QByteArray* PythonQtWrapper_QByteArray::setRawData(QByteArray* theWrappedObject, const char* a, uint n) -{ - return &( theWrappedObject->setRawData(a, n)); -} - -QByteArray PythonQtWrapper_QByteArray::simplified(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->simplified()); -} - -int PythonQtWrapper_QByteArray::size(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QList PythonQtWrapper_QByteArray::split(QByteArray* theWrappedObject, char sep) const -{ - return ( theWrappedObject->split(sep)); -} - -void PythonQtWrapper_QByteArray::squeeze(QByteArray* theWrappedObject) -{ - ( theWrappedObject->squeeze()); -} - -bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, char c) const -{ - return ( theWrappedObject->startsWith(c)); -} - -bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, const QByteArray& a) const -{ - return ( theWrappedObject->startsWith(a)); -} - -void PythonQtWrapper_QByteArray::swap(QByteArray* theWrappedObject, QByteArray& other) -{ - ( theWrappedObject->swap(other)); -} - -QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->toBase64()); -} - -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, qint64 days) const -{ - return ( theWrappedObject->addDays(days)); -} - -QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months) const -{ - return ( theWrappedObject->addMonths(months)); -} - -QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -QDate PythonQtWrapper_QDate::static_QDate_currentDate() -{ - return (QDate::currentDate()); -} - -int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const -{ - return ( theWrappedObject->day()); -} - -int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfWeek()); -} - -int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfYear()); -} - -int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInMonth()); -} - -int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInYear()); -} - -qint64 PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const -{ - return ( theWrappedObject->daysTo(arg__1)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(qint64 jd) -{ - return (QDate::fromJulianDay(jd)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, Qt::DateFormat f) -{ - return (QDate::fromString(s, f)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format) -{ - return (QDate::fromString(s, format)); -} - -void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) -{ - ( theWrappedObject->getDate(year, month, day)); -} - -bool PythonQtWrapper_QDate::static_QDate_isLeapYear(int year) -{ - return (QDate::isLeapYear(year)); -} - -bool PythonQtWrapper_QDate::isNull(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QDate::isValid(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QDate::static_QDate_isValid(int y, int m, int d) -{ - return (QDate::isValid(y, m, d)); -} - -QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday, QDate::MonthNameType type) -{ - return (QDate::longDayName(weekday, type)); -} - -QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month, QDate::MonthNameType type) -{ - return (QDate::longMonthName(month, type)); -} - -int PythonQtWrapper_QDate::month(QDate* theWrappedObject) const -{ - return ( theWrappedObject->month()); -} - -bool PythonQtWrapper_QDate::__ne__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QDate::__lt__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)< other); -} - -void PythonQtWrapper_QDate::writeTo(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QDate::__le__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)<= other); -} - -bool PythonQtWrapper_QDate::__eq__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QDate::__gt__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)> other); -} - -bool PythonQtWrapper_QDate::__ge__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)>= other); -} - -void PythonQtWrapper_QDate::readFrom(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int day) -{ - return ( theWrappedObject->setDate(year, month, day)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday, QDate::MonthNameType type) -{ - return (QDate::shortDayName(weekday, type)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month, QDate::MonthNameType type) -{ - return (QDate::shortMonthName(month, type)); -} - -qint64 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, qint64 days) const -{ - return ( theWrappedObject->addDays(days)); -} - -QDateTime PythonQtWrapper_QDateTime::addMSecs(QDateTime* theWrappedObject, qint64 msecs) const -{ - return ( theWrappedObject->addMSecs(msecs)); -} - -QDateTime PythonQtWrapper_QDateTime::addMonths(QDateTime* theWrappedObject, int months) const -{ - return ( theWrappedObject->addMonths(months)); -} - -QDateTime PythonQtWrapper_QDateTime::addSecs(QDateTime* theWrappedObject, qint64 secs) const -{ - return ( theWrappedObject->addSecs(secs)); -} - -QDateTime PythonQtWrapper_QDateTime::addYears(QDateTime* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTime() -{ - return (QDateTime::currentDateTime()); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTimeUtc() -{ - return (QDateTime::currentDateTimeUtc()); -} - -qint64 PythonQtWrapper_QDateTime::static_QDateTime_currentMSecsSinceEpoch() -{ - return (QDateTime::currentMSecsSinceEpoch()); -} - -QDate PythonQtWrapper_QDateTime::date(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->date()); -} - -qint64 PythonQtWrapper_QDateTime::daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const -{ - return ( theWrappedObject->daysTo(arg__1)); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs) -{ - return (QDateTime::fromMSecsSinceEpoch(msecs)); -} - -QDateTime PythonQtWrapper_QDateTime::static_QDateTime_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()); -} - -qint64 PythonQtWrapper_QDateTime::msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const -{ - return ( theWrappedObject->msecsTo(arg__1)); -} - -bool PythonQtWrapper_QDateTime::__ne__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QDateTime::__lt__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)< other); -} - -void PythonQtWrapper_QDateTime::writeTo(QDateTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QDateTime::__le__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)<= other); -} - -bool PythonQtWrapper_QDateTime::__eq__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QDateTime::__gt__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)> other); -} - -bool PythonQtWrapper_QDateTime::__ge__(QDateTime* theWrappedObject, const QDateTime& other) const -{ - return ( (*theWrappedObject)>= other); -} - -void PythonQtWrapper_QDateTime::readFrom(QDateTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -qint64 PythonQtWrapper_QDateTime::secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const -{ - return ( theWrappedObject->secsTo(arg__1)); -} - -void PythonQtWrapper_QDateTime::setDate(QDateTime* theWrappedObject, const QDate& date) -{ - ( theWrappedObject->setDate(date)); -} - -void PythonQtWrapper_QDateTime::setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs) -{ - ( theWrappedObject->setMSecsSinceEpoch(msecs)); -} - -void PythonQtWrapper_QDateTime::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)); -} - -void PythonQtWrapper_QDateTime::swap(QDateTime* theWrappedObject, QDateTime& other) -{ - ( theWrappedObject->swap(other)); -} - -QTime PythonQtWrapper_QDateTime::time(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->time()); -} - -Qt::TimeSpec PythonQtWrapper_QDateTime::timeSpec(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->timeSpec()); -} - -QDateTime PythonQtWrapper_QDateTime::toLocalTime(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->toLocalTime()); -} - -qint64 PythonQtWrapper_QDateTime::toMSecsSinceEpoch(QDateTime* theWrappedObject) const -{ - return ( theWrappedObject->toMSecsSinceEpoch()); -} - -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(QLocale::Language language, QLocale::Script script, QLocale::Country country) -{ -return new QLocale(language, script, country); } - -QLocale* PythonQtWrapper_QLocale::new_QLocale(const QLocale& other) -{ -return new QLocale(other); } - -QLocale* PythonQtWrapper_QLocale::new_QLocale(const QString& name) -{ -return new QLocale(name); } - -QString PythonQtWrapper_QLocale::amText(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->amText()); -} - -QString PythonQtWrapper_QLocale::bcp47Name(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->bcp47Name()); -} - -QLocale PythonQtWrapper_QLocale::static_QLocale_c() -{ - return (QLocale::c()); -} - -QList PythonQtWrapper_QLocale::static_QLocale_countriesForLanguage(QLocale::Language lang) -{ - return (QLocale::countriesForLanguage(lang)); -} - -QLocale::Country PythonQtWrapper_QLocale::country(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->country()); -} - -QString PythonQtWrapper_QLocale::static_QLocale_countryToString(QLocale::Country country) -{ - return (QLocale::countryToString(country)); -} - -QString PythonQtWrapper_QLocale::createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const -{ - return ( theWrappedObject->createSeparatedList(strl)); -} - -QString PythonQtWrapper_QLocale::currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1) const -{ - return ( theWrappedObject->currencySymbol(arg__1)); -} - -QString PythonQtWrapper_QLocale::dateFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->dateFormat(format)); -} - -QString PythonQtWrapper_QLocale::dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->dateTimeFormat(format)); -} - -QString PythonQtWrapper_QLocale::dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->dayName(arg__1, format)); -} - -QChar PythonQtWrapper_QLocale::decimalPoint(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->decimalPoint()); -} - -QChar PythonQtWrapper_QLocale::exponential(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->exponential()); -} - -Qt::DayOfWeek PythonQtWrapper_QLocale::firstDayOfWeek(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->firstDayOfWeek()); -} - -QChar PythonQtWrapper_QLocale::groupSeparator(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->groupSeparator()); -} - -QLocale::Language PythonQtWrapper_QLocale::language(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->language()); -} - -QString PythonQtWrapper_QLocale::static_QLocale_languageToString(QLocale::Language language) -{ - return (QLocale::languageToString(language)); -} - -QList PythonQtWrapper_QLocale::static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country) -{ - return (QLocale::matchingLocales(language, script, country)); -} - -QLocale::MeasurementSystem PythonQtWrapper_QLocale::measurementSystem(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->measurementSystem()); -} - -QString PythonQtWrapper_QLocale::monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->monthName(arg__1, format)); -} - -QString PythonQtWrapper_QLocale::name(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QString PythonQtWrapper_QLocale::nativeCountryName(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->nativeCountryName()); -} - -QString PythonQtWrapper_QLocale::nativeLanguageName(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->nativeLanguageName()); -} - -QChar PythonQtWrapper_QLocale::negativeSign(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->negativeSign()); -} - -QLocale::NumberOptions PythonQtWrapper_QLocale::numberOptions(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->numberOptions()); -} - -bool PythonQtWrapper_QLocale::__ne__(QLocale* theWrappedObject, const QLocale& other) const -{ - return ( (*theWrappedObject)!= other); -} - -void PythonQtWrapper_QLocale::writeTo(QLocale* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QLocale::__eq__(QLocale* theWrappedObject, const QLocale& other) const -{ - return ( (*theWrappedObject)== other); -} - -void PythonQtWrapper_QLocale::readFrom(QLocale* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QChar PythonQtWrapper_QLocale::percent(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->percent()); -} - -QString PythonQtWrapper_QLocale::pmText(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->pmText()); -} - -QChar PythonQtWrapper_QLocale::positiveSign(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->positiveSign()); -} - -QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style) const -{ - return ( theWrappedObject->quoteString(str, style)); -} - -QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QStringRef& str, QLocale::QuotationStyle style) const -{ - return ( theWrappedObject->quoteString(str, style)); -} - -QLocale::Script PythonQtWrapper_QLocale::script(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->script()); -} - -QString PythonQtWrapper_QLocale::static_QLocale_scriptToString(QLocale::Script script) -{ - return (QLocale::scriptToString(script)); -} - -void PythonQtWrapper_QLocale::static_QLocale_setDefault(const QLocale& locale) -{ - (QLocale::setDefault(locale)); -} - -void PythonQtWrapper_QLocale::setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options) -{ - ( theWrappedObject->setNumberOptions(options)); -} - -QString PythonQtWrapper_QLocale::standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->standaloneDayName(arg__1, format)); -} - -QString PythonQtWrapper_QLocale::standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const -{ - return ( theWrappedObject->standaloneMonthName(arg__1, format)); -} - -QLocale PythonQtWrapper_QLocale::static_QLocale_system() -{ - return (QLocale::system()); -} - -Qt::LayoutDirection PythonQtWrapper_QLocale::textDirection(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -QString PythonQtWrapper_QLocale::timeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const -{ - return ( theWrappedObject->timeFormat(format)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, float arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol) const -{ - return ( theWrappedObject->toCurrencyString(arg__1, symbol)); -} - -QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const -{ - return ( theWrappedObject->toDate(string, arg__2)); -} - -QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toDate(string, format)); -} - -QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format) const -{ - return ( theWrappedObject->toDateTime(string, format)); -} - -QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toDateTime(string, format)); -} - -double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toDouble(s, ok)); -} - -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) const -{ - return ( theWrappedObject->toInt(s, ok)); -} - -qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toLongLong(s, ok)); -} - -QString PythonQtWrapper_QLocale::toLower(QLocale* theWrappedObject, const QString& str) const -{ - return ( theWrappedObject->toLower(str)); -} - -short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toShort(s, ok)); -} - -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, short i) const -{ - return ( theWrappedObject->toString(i)); -} - -QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const -{ - return ( theWrappedObject->toTime(string, arg__2)); -} - -QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const -{ - return ( theWrappedObject->toTime(string, format)); -} - -uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toUInt(s, ok)); -} - -qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toULongLong(s, ok)); -} - -ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QString& s, bool* ok) const -{ - return ( theWrappedObject->toUShort(s, ok)); -} - -QString PythonQtWrapper_QLocale::toUpper(QLocale* theWrappedObject, const QString& str) const -{ - return ( theWrappedObject->toUpper(str)); -} - -QStringList PythonQtWrapper_QLocale::uiLanguages(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->uiLanguages()); -} - -QList PythonQtWrapper_QLocale::weekdays(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->weekdays()); -} - -QChar PythonQtWrapper_QLocale::zeroDigit(QLocale* theWrappedObject) const -{ - return ( theWrappedObject->zeroDigit()); -} - -QString PythonQtWrapper_QLocale::py_toString(QLocale* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QPoint* PythonQtWrapper_QPoint::new_QPoint() -{ -return new QPoint(); } - -QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos) -{ -return new QPoint(xpos, ypos); } - -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, double factor) -{ - return ( (*theWrappedObject)* factor); -} - -const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, int factor) -{ - return ( (*theWrappedObject)* factor); -} - -QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, double factor) -{ - return &( (*theWrappedObject)*= factor); -} - -QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, float factor) -{ - return &( (*theWrappedObject)*= factor); -} - -QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, int factor) -{ - return &( (*theWrappedObject)*= factor); -} - -const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject, const QPoint& p2) -{ - return ( (*theWrappedObject)+ p2); -} - -QPoint* PythonQtWrapper_QPoint::__iadd__(QPoint* theWrappedObject, const QPoint& p) -{ - return &( (*theWrappedObject)+= p); -} - -const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject, const QPoint& p2) -{ - return ( (*theWrappedObject)- p2); -} - -QPoint* PythonQtWrapper_QPoint::__isub__(QPoint* theWrappedObject, const QPoint& p) -{ - return &( (*theWrappedObject)-= p); -} - -const QPoint PythonQtWrapper_QPoint::__div__(QPoint* theWrappedObject, qreal c) -{ - return ( (*theWrappedObject)/ c); -} - -QPoint* PythonQtWrapper_QPoint::__idiv__(QPoint* theWrappedObject, qreal divisor) -{ - return &( (*theWrappedObject)/= divisor); -} - -void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QPoint::__eq__(QPoint* theWrappedObject, const QPoint& p2) -{ - return ( (*theWrappedObject)== p2); -} - -void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y) -{ - ( theWrappedObject->setY(y)); -} - -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 divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QPointF* PythonQtWrapper_QPointF::__idiv__(QPointF* theWrappedObject, qreal c) -{ - return &( (*theWrappedObject)/= c); -} - -void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QPointF::__eq__(QPointF* theWrappedObject, const QPointF& p2) -{ - return ( (*theWrappedObject)== p2); -} - -void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -void PythonQtWrapper_QPointF::setX(QPointF* theWrappedObject, qreal x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QPointF::setY(QPointF* theWrappedObject, qreal y) -{ - ( theWrappedObject->setY(y)); -} - -QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const -{ - return ( theWrappedObject->toPoint()); -} - -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()); -} - -QRect PythonQtWrapper_QRect::__and__(QRect* theWrappedObject, const QRect& r) const -{ - return ( (*theWrappedObject)& r); -} - -QRect* PythonQtWrapper_QRect::__iand__(QRect* theWrappedObject, const QRect& r) -{ - return &( (*theWrappedObject)&= r); -} - -void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QRect::__eq__(QRect* theWrappedObject, const QRect& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QRect PythonQtWrapper_QRect::__or__(QRect* theWrappedObject, const QRect& r) const -{ - return ( (*theWrappedObject)| r); -} - -QRect* PythonQtWrapper_QRect::__ior__(QRect* theWrappedObject, const QRect& r) -{ - return &( (*theWrappedObject)|= r); -} - -int PythonQtWrapper_QRect::right(QRect* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} - -void PythonQtWrapper_QRect::setBottom(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setBottom(pos)); -} - -void PythonQtWrapper_QRect::setBottomLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setBottomLeft(p)); -} - -void PythonQtWrapper_QRect::setBottomRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setBottomRight(p)); -} - -void PythonQtWrapper_QRect::setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->setCoords(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QRect::setHeight(QRect* theWrappedObject, int h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QRect::setLeft(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setLeft(pos)); -} - -void PythonQtWrapper_QRect::setRect(QRect* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -void PythonQtWrapper_QRect::setRight(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setRight(pos)); -} - -void PythonQtWrapper_QRect::setSize(QRect* theWrappedObject, const QSize& s) -{ - ( theWrappedObject->setSize(s)); -} - -void PythonQtWrapper_QRect::setTop(QRect* theWrappedObject, int pos) -{ - ( theWrappedObject->setTop(pos)); -} - -void PythonQtWrapper_QRect::setTopLeft(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setTopLeft(p)); -} - -void PythonQtWrapper_QRect::setTopRight(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->setTopRight(p)); -} - -void PythonQtWrapper_QRect::setWidth(QRect* theWrappedObject, int w) -{ - ( theWrappedObject->setWidth(w)); -} - -void PythonQtWrapper_QRect::setX(QRect* theWrappedObject, int x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QRect::setY(QRect* theWrappedObject, int y) -{ - ( theWrappedObject->setY(y)); -} - -QSize PythonQtWrapper_QRect::size(QRect* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -int PythonQtWrapper_QRect::top(QRect* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -QPoint PythonQtWrapper_QRect::topLeft(QRect* theWrappedObject) const -{ - return ( theWrappedObject->topLeft()); -} - -QPoint PythonQtWrapper_QRect::topRight(QRect* theWrappedObject) const -{ - return ( theWrappedObject->topRight()); -} - -void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, int dx, int dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -QRect PythonQtWrapper_QRect::united(QRect* theWrappedObject, const QRect& other) const -{ - return ( theWrappedObject->united(other)); -} - -int PythonQtWrapper_QRect::width(QRect* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -int PythonQtWrapper_QRect::x(QRect* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QRect::y(QRect* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QString PythonQtWrapper_QRect::py_toString(QRect* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QRectF* PythonQtWrapper_QRectF::new_QRectF() -{ -return new QRectF(); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QPointF& bottomRight) -{ -return new QRectF(topleft, bottomRight); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QSizeF& size) -{ -return new QRectF(topleft, size); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(const QRect& rect) -{ -return new QRectF(rect); } - -QRectF* PythonQtWrapper_QRectF::new_QRectF(qreal left, qreal top, qreal width, qreal height) -{ -return new QRectF(left, top, width, height); } - -void PythonQtWrapper_QRectF::adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->adjust(x1, y1, x2, y2)); -} - -QRectF PythonQtWrapper_QRectF::adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const -{ - return ( theWrappedObject->adjusted(x1, y1, x2, y2)); -} - -qreal PythonQtWrapper_QRectF::bottom(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -QPointF PythonQtWrapper_QRectF::bottomLeft(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottomLeft()); -} - -QPointF PythonQtWrapper_QRectF::bottomRight(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->bottomRight()); -} - -QPointF PythonQtWrapper_QRectF::center(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->contains(p)); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( theWrappedObject->contains(r)); -} - -bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->contains(x, y)); -} - -qreal PythonQtWrapper_QRectF::height(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -QRectF PythonQtWrapper_QRectF::intersected(QRectF* theWrappedObject, const QRectF& other) const -{ - return ( theWrappedObject->intersected(other)); -} - -bool PythonQtWrapper_QRectF::intersects(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( theWrappedObject->intersects(r)); -} - -bool PythonQtWrapper_QRectF::isEmpty(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QRectF::isNull(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QRectF::isValid(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QRectF::left(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->left()); -} - -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()); -} - -QRectF PythonQtWrapper_QRectF::__and__(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( (*theWrappedObject)& r); -} - -QRectF* PythonQtWrapper_QRectF::__iand__(QRectF* theWrappedObject, const QRectF& r) -{ - return &( (*theWrappedObject)&= r); -} - -void PythonQtWrapper_QRectF::writeTo(QRectF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QRectF::__eq__(QRectF* theWrappedObject, const QRectF& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -void PythonQtWrapper_QRectF::readFrom(QRectF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QRectF PythonQtWrapper_QRectF::__or__(QRectF* theWrappedObject, const QRectF& r) const -{ - return ( (*theWrappedObject)| r); -} - -QRectF* PythonQtWrapper_QRectF::__ior__(QRectF* theWrappedObject, const QRectF& r) -{ - return &( (*theWrappedObject)|= r); -} - -qreal PythonQtWrapper_QRectF::right(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} - -void PythonQtWrapper_QRectF::setBottom(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setBottom(pos)); -} - -void PythonQtWrapper_QRectF::setBottomLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setBottomLeft(p)); -} - -void PythonQtWrapper_QRectF::setBottomRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setBottomRight(p)); -} - -void PythonQtWrapper_QRectF::setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setCoords(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QRectF::setHeight(QRectF* theWrappedObject, qreal h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QRectF::setLeft(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setLeft(pos)); -} - -void PythonQtWrapper_QRectF::setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -void PythonQtWrapper_QRectF::setRight(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setRight(pos)); -} - -void PythonQtWrapper_QRectF::setSize(QRectF* theWrappedObject, const QSizeF& s) -{ - ( theWrappedObject->setSize(s)); -} - -void PythonQtWrapper_QRectF::setTop(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setTop(pos)); -} - -void PythonQtWrapper_QRectF::setTopLeft(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setTopLeft(p)); -} - -void PythonQtWrapper_QRectF::setTopRight(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setTopRight(p)); -} - -void PythonQtWrapper_QRectF::setWidth(QRectF* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); -} - -void PythonQtWrapper_QRectF::setX(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setX(pos)); -} - -void PythonQtWrapper_QRectF::setY(QRectF* theWrappedObject, qreal pos) -{ - ( theWrappedObject->setY(pos)); -} - -QSizeF PythonQtWrapper_QRectF::size(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QRect PythonQtWrapper_QRectF::toAlignedRect(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->toAlignedRect()); -} - -QRect PythonQtWrapper_QRectF::toRect(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->toRect()); -} - -qreal PythonQtWrapper_QRectF::top(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - -QPointF PythonQtWrapper_QRectF::topLeft(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->topLeft()); -} - -QPointF PythonQtWrapper_QRectF::topRight(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->topRight()); -} - -void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -QRectF PythonQtWrapper_QRectF::united(QRectF* theWrappedObject, const QRectF& other) const -{ - return ( theWrappedObject->united(other)); -} - -qreal PythonQtWrapper_QRectF::width(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -qreal PythonQtWrapper_QRectF::x(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -qreal PythonQtWrapper_QRectF::y(QRectF* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QString PythonQtWrapper_QRectF::py_toString(QRectF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp() -{ -return new QRegExp(); } - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QRegExp& rx) -{ -return new QRegExp(rx); } - -QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs, QRegExp::PatternSyntax syntax) -{ -return new QRegExp(pattern, cs, syntax); } - -QString PythonQtWrapper_QRegExp::cap(QRegExp* theWrappedObject, int nth) -{ - return ( theWrappedObject->cap(nth)); -} - -int PythonQtWrapper_QRegExp::captureCount(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->captureCount()); -} - -QStringList PythonQtWrapper_QRegExp::capturedTexts(QRegExp* theWrappedObject) -{ - return ( theWrappedObject->capturedTexts()); -} - -Qt::CaseSensitivity PythonQtWrapper_QRegExp::caseSensitivity(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -QString PythonQtWrapper_QRegExp::errorString(QRegExp* theWrappedObject) -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QRegExp::static_QRegExp_escape(const QString& str) -{ - return (QRegExp::escape(str)); -} - -bool PythonQtWrapper_QRegExp::exactMatch(QRegExp* theWrappedObject, const QString& str) const -{ - return ( theWrappedObject->exactMatch(str)); -} - -int PythonQtWrapper_QRegExp::indexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const -{ - return ( theWrappedObject->indexIn(str, offset, caretMode)); -} - -bool PythonQtWrapper_QRegExp::isEmpty(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QRegExp::isMinimal(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isMinimal()); -} - -bool PythonQtWrapper_QRegExp::isValid(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QRegExp::lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const -{ - return ( theWrappedObject->lastIndexIn(str, offset, caretMode)); -} - -int PythonQtWrapper_QRegExp::matchedLength(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->matchedLength()); -} - -bool PythonQtWrapper_QRegExp::__ne__(QRegExp* theWrappedObject, const QRegExp& rx) const -{ - return ( (*theWrappedObject)!= rx); -} - -void PythonQtWrapper_QRegExp::writeTo(QRegExp* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -bool PythonQtWrapper_QRegExp::__eq__(QRegExp* theWrappedObject, const QRegExp& rx) const -{ - return ( (*theWrappedObject)== rx); -} - -void PythonQtWrapper_QRegExp::readFrom(QRegExp* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -QString PythonQtWrapper_QRegExp::pattern(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->pattern()); -} - -QRegExp::PatternSyntax PythonQtWrapper_QRegExp::patternSyntax(QRegExp* theWrappedObject) const -{ - return ( theWrappedObject->patternSyntax()); -} - -int PythonQtWrapper_QRegExp::pos(QRegExp* theWrappedObject, int nth) -{ - return ( theWrappedObject->pos(nth)); -} - -void PythonQtWrapper_QRegExp::setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs) -{ - ( theWrappedObject->setCaseSensitivity(cs)); -} - -void PythonQtWrapper_QRegExp::setMinimal(QRegExp* theWrappedObject, bool minimal) -{ - ( theWrappedObject->setMinimal(minimal)); -} - -void PythonQtWrapper_QRegExp::setPattern(QRegExp* theWrappedObject, const QString& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - -void PythonQtWrapper_QRegExp::setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax) -{ - ( theWrappedObject->setPatternSyntax(syntax)); -} - -void PythonQtWrapper_QRegExp::swap(QRegExp* theWrappedObject, QRegExp& other) -{ - ( theWrappedObject->swap(other)); -} - -QString PythonQtWrapper_QRegExp::py_toString(QRegExp* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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)); -} - -QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const -{ - return ( theWrappedObject->scaled(s, mode)); -} - -QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const -{ - return ( theWrappedObject->scaled(w, h, mode)); -} - -void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w) -{ - ( theWrappedObject->setWidth(w)); -} - -void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject) -{ - ( theWrappedObject->transpose()); -} - -QSize PythonQtWrapper_QSize::transposed(QSize* theWrappedObject) const -{ - return ( theWrappedObject->transposed()); -} - -int PythonQtWrapper_QSize::width(QSize* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QString PythonQtWrapper_QSize::py_toString(QSize* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF() -{ -return new QSizeF(); } - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(const QSize& sz) -{ -return new QSizeF(sz); } - -QSizeF* PythonQtWrapper_QSizeF::new_QSizeF(qreal w, qreal h) -{ -return new QSizeF(w, h); } - -QSizeF PythonQtWrapper_QSizeF::boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const -{ - return ( theWrappedObject->boundedTo(arg__1)); -} - -QSizeF PythonQtWrapper_QSizeF::expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const -{ - return ( theWrappedObject->expandedTo(arg__1)); -} - -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)); -} - -QSizeF PythonQtWrapper_QSizeF::scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const -{ - return ( theWrappedObject->scaled(s, mode)); -} - -QSizeF PythonQtWrapper_QSizeF::scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const -{ - return ( theWrappedObject->scaled(w, h, mode)); -} - -void PythonQtWrapper_QSizeF::setHeight(QSizeF* theWrappedObject, qreal h) -{ - ( theWrappedObject->setHeight(h)); -} - -void PythonQtWrapper_QSizeF::setWidth(QSizeF* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); -} - -QSize PythonQtWrapper_QSizeF::toSize(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->toSize()); -} - -void PythonQtWrapper_QSizeF::transpose(QSizeF* theWrappedObject) -{ - ( theWrappedObject->transpose()); -} - -QSizeF PythonQtWrapper_QSizeF::transposed(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->transposed()); -} - -qreal PythonQtWrapper_QSizeF::width(QSizeF* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QString PythonQtWrapper_QSizeF::py_toString(QSizeF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QTime* PythonQtWrapper_QTime::new_QTime() -{ -return new QTime(); } - -QTime* PythonQtWrapper_QTime::new_QTime(int h, int m, int s, int ms) -{ -return new QTime(h, m, s, ms); } - -QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const -{ - return ( theWrappedObject->addMSecs(ms)); -} - -QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const -{ - return ( theWrappedObject->addSecs(secs)); -} - -QTime PythonQtWrapper_QTime::static_QTime_currentTime() -{ - return (QTime::currentTime()); -} - -int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const -{ - return ( theWrappedObject->elapsed()); -} - -QTime PythonQtWrapper_QTime::static_QTime_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, QUrl::ParsingMode mode) -{ -return new QUrl(url, mode); } - -QUrl* PythonQtWrapper_QUrl::new_QUrl(const QUrl& copy) -{ -return new QUrl(copy); } - -QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->authority(options)); -} - -void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->fragment(options)); -} - -QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) -{ - return (QUrl::fromAce(arg__1)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode) -{ - return (QUrl::fromEncoded(url, mode)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromLocalFile(const QString& localfile) -{ - return (QUrl::fromLocalFile(localfile)); -} - -QString PythonQtWrapper_QUrl::static_QUrl_fromPercentEncoding(const QByteArray& arg__1) -{ - return (QUrl::fromPercentEncoding(arg__1)); -} - -QUrl PythonQtWrapper_QUrl::static_QUrl_fromUserInput(const QString& userInput) -{ - return (QUrl::fromUserInput(userInput)); -} - -bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->hasFragment()); -} - -bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->hasQuery()); -} - -QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const -{ - return ( theWrappedObject->host(arg__1)); -} - -QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() -{ - return (QUrl::idnWhitelist()); -} - -bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QUrl::isLocalFile(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isLocalFile()); -} - -bool PythonQtWrapper_QUrl::isParentOf(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( theWrappedObject->isParentOf(url)); -} - -bool PythonQtWrapper_QUrl::isRelative(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isRelative()); -} - -bool PythonQtWrapper_QUrl::isValid(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QUrl::__ne__(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( (*theWrappedObject)!= url); -} - -bool PythonQtWrapper_QUrl::__lt__(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( (*theWrappedObject)< url); -} - -void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QUrl::__eq__(QUrl* theWrappedObject, const QUrl& url) const -{ - return ( (*theWrappedObject)== url); -} - -void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QUrl::password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const -{ - return ( theWrappedObject->password(arg__1)); -} - -QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->path(options)); -} - -int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const -{ - return ( theWrappedObject->port(defaultPort)); -} - -QString PythonQtWrapper_QUrl::query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const -{ - return ( theWrappedObject->query(arg__1)); -} - -QUrl PythonQtWrapper_QUrl::resolved(QUrl* theWrappedObject, const QUrl& relative) const -{ - return ( theWrappedObject->resolved(relative)); -} - -QString PythonQtWrapper_QUrl::scheme(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->scheme()); -} - -void PythonQtWrapper_QUrl::setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setAuthority(authority, mode)); -} - -void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setFragment(fragment, mode)); -} - -void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setHost(host, mode)); -} - -void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) -{ - (QUrl::setIdnWhitelist(arg__1)); -} - -void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setPassword(password, mode)); -} - -void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setPath(path, mode)); -} - -void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) -{ - ( theWrappedObject->setPort(port)); -} - -void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setQuery(query, mode)); -} - -void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QUrlQuery& query) -{ - ( theWrappedObject->setQuery(query)); -} - -void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) -{ - ( theWrappedObject->setScheme(scheme)); -} - -void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setUrl(url, mode)); -} - -void PythonQtWrapper_QUrl::setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setUserInfo(userInfo, mode)); -} - -void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode) -{ - ( theWrappedObject->setUserName(userName, mode)); -} - -void PythonQtWrapper_QUrl::swap(QUrl* theWrappedObject, QUrl& other) -{ - ( theWrappedObject->swap(other)); -} - -QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) -{ - return (QUrl::toAce(arg__1)); -} - -QString PythonQtWrapper_QUrl::toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->toDisplayString(options)); -} - -QByteArray PythonQtWrapper_QUrl::toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->toEncoded(options)); -} - -QString PythonQtWrapper_QUrl::toLocalFile(QUrl* theWrappedObject) const -{ - return ( theWrappedObject->toLocalFile()); -} - -QByteArray PythonQtWrapper_QUrl::static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude, const QByteArray& include) -{ - return (QUrl::toPercentEncoding(arg__1, exclude, include)); -} - -QString PythonQtWrapper_QUrl::toString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->toString(options)); -} - -QString PythonQtWrapper_QUrl::topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->topLevelDomain(options)); -} - -QString PythonQtWrapper_QUrl::url(QUrl* theWrappedObject, QUrl::FormattingOptions options) const -{ - return ( theWrappedObject->url(options)); -} - -QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->userInfo(options)); -} - -QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const -{ - return ( theWrappedObject->userName(options)); -} - -QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { return obj->toString(); } - - -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)); -} - -bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) -{ - return (Qt::mightBeRichText(arg__1)); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h deleted file mode 100644 index 9e8710853..000000000 --- a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h +++ /dev/null @@ -1,1229 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -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& other) const; - QBitArray __and__(QBitArray* theWrappedObject, const QBitArray& arg__2); - QBitArray* __iand__(QBitArray* theWrappedObject, const QBitArray& arg__1); - void writeTo(QBitArray* theWrappedObject, QDataStream& arg__1); - QBitArray* operator_assign(QBitArray* theWrappedObject, const QBitArray& other); - bool __eq__(QBitArray* theWrappedObject, const QBitArray& other) const; - void readFrom(QBitArray* theWrappedObject, QDataStream& arg__1); - QBitArray __xor__(QBitArray* theWrappedObject, const QBitArray& arg__2); - QBitArray* __ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1); - QBitArray __or__(QBitArray* theWrappedObject, const QBitArray& arg__2); - QBitArray* __ior__(QBitArray* theWrappedObject, const QBitArray& arg__1); - QBitArray __invert__(QBitArray* theWrappedObject) const; - void resize(QBitArray* theWrappedObject, int size); - void setBit(QBitArray* theWrappedObject, int i); - void setBit(QBitArray* theWrappedObject, int i, bool val); - int size(QBitArray* theWrappedObject) const; - void swap(QBitArray* theWrappedObject, QBitArray& other); - bool testBit(QBitArray* theWrappedObject, int i) const; - bool toggleBit(QBitArray* theWrappedObject, int i); - void truncate(QBitArray* theWrappedObject, int pos); - QString py_toString(QBitArray*); - bool __nonzero__(QBitArray* obj) { return !obj->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; - const char* cbegin(QByteArray* theWrappedObject) const; - const char* cend(QByteArray* theWrappedObject) const; - void chop(QByteArray* theWrappedObject, int n); - void clear(QByteArray* theWrappedObject); - bool contains(QByteArray* theWrappedObject, char c) const; - bool contains(QByteArray* theWrappedObject, const QByteArray& a) const; - bool contains(QByteArray* theWrappedObject, const char* a) const; - int count(QByteArray* theWrappedObject, char c) const; - int count(QByteArray* theWrappedObject, const QByteArray& a) const; - bool endsWith(QByteArray* theWrappedObject, char c) const; - bool endsWith(QByteArray* theWrappedObject, const QByteArray& a) const; - QByteArray* fill(QByteArray* theWrappedObject, char c, int size = -1); - QByteArray static_QByteArray_fromBase64(const QByteArray& base64); - QByteArray static_QByteArray_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; - bool isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) 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); - 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); - QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen); - void reserve(QByteArray* theWrappedObject, int size); - void resize(QByteArray* theWrappedObject, int size); - QByteArray right(QByteArray* theWrappedObject, int len) const; - QByteArray rightJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; - QByteArray* setNum(QByteArray* theWrappedObject, double arg__1, char f = 'g', int prec = 6); - QByteArray* setNum(QByteArray* theWrappedObject, float arg__1, char f = 'g', int prec = 6); - QByteArray* setNum(QByteArray* theWrappedObject, int arg__1, int base = 10); - QByteArray* setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base = 10); - QByteArray* setNum(QByteArray* theWrappedObject, short arg__1, int base = 10); - QByteArray* setRawData(QByteArray* theWrappedObject, const char* a, uint n); - QByteArray simplified(QByteArray* theWrappedObject) const; - int size(QByteArray* theWrappedObject) const; - QList split(QByteArray* theWrappedObject, char sep) const; - void squeeze(QByteArray* theWrappedObject); - bool startsWith(QByteArray* theWrappedObject, char c) const; - bool startsWith(QByteArray* theWrappedObject, const QByteArray& a) const; - void swap(QByteArray* theWrappedObject, QByteArray& other); - QByteArray toBase64(QByteArray* theWrappedObject) const; - 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) { - return PyBytes_FromStringAndSize(b->data(), b->size()); - } - -}; - - - - - -class PythonQtWrapper_QDate : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MonthNameType ) -enum MonthNameType{ - DateFormat = QDate::DateFormat, StandaloneFormat = QDate::StandaloneFormat}; -public slots: -QDate* new_QDate(); -QDate* new_QDate(int y, int m, int d); -QDate* new_QDate(const QDate& other) { -QDate* a = new QDate(); -*((QDate*)a) = other; -return a; } -void delete_QDate(QDate* obj) { delete obj; } - QDate addDays(QDate* theWrappedObject, qint64 days) const; - QDate addMonths(QDate* theWrappedObject, int months) const; - QDate addYears(QDate* theWrappedObject, int years) const; - QDate static_QDate_currentDate(); - int day(QDate* theWrappedObject) const; - int dayOfWeek(QDate* theWrappedObject) const; - int dayOfYear(QDate* theWrappedObject) const; - int daysInMonth(QDate* theWrappedObject) const; - int daysInYear(QDate* theWrappedObject) const; - qint64 daysTo(QDate* theWrappedObject, const QDate& arg__1) const; - QDate static_QDate_fromJulianDay(qint64 jd); - QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - QDate static_QDate_fromString(const QString& s, const QString& format); - void getDate(QDate* theWrappedObject, int* year, int* month, int* day); - bool static_QDate_isLeapYear(int year); - bool isNull(QDate* theWrappedObject) const; - bool isValid(QDate* theWrappedObject) const; - bool static_QDate_isValid(int y, int m, int d); - QString static_QDate_longDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); - QString static_QDate_longMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); - int month(QDate* theWrappedObject) const; - bool __ne__(QDate* theWrappedObject, const QDate& other) const; - bool __lt__(QDate* theWrappedObject, const QDate& other) const; - void writeTo(QDate* theWrappedObject, QDataStream& arg__1); - bool __le__(QDate* theWrappedObject, const QDate& other) const; - bool __eq__(QDate* theWrappedObject, const QDate& other) const; - bool __gt__(QDate* theWrappedObject, const QDate& other) const; - bool __ge__(QDate* theWrappedObject, const QDate& other) const; - void readFrom(QDate* theWrappedObject, QDataStream& arg__1); - bool setDate(QDate* theWrappedObject, int year, int month, int day); - QString static_QDate_shortDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); - QString static_QDate_shortMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); - qint64 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, qint64 days) const; - QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; - QDateTime addMonths(QDateTime* theWrappedObject, int months) const; - QDateTime addSecs(QDateTime* theWrappedObject, qint64 secs) const; - QDateTime addYears(QDateTime* theWrappedObject, int years) const; - QDateTime static_QDateTime_currentDateTime(); - QDateTime static_QDateTime_currentDateTimeUtc(); - qint64 static_QDateTime_currentMSecsSinceEpoch(); - QDate date(QDateTime* theWrappedObject) const; - qint64 daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; - QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs); - 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; - qint64 msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; - bool __ne__(QDateTime* theWrappedObject, const QDateTime& other) const; - bool __lt__(QDateTime* theWrappedObject, const QDateTime& other) const; - void writeTo(QDateTime* theWrappedObject, QDataStream& arg__1); - bool __le__(QDateTime* theWrappedObject, const QDateTime& other) const; - bool __eq__(QDateTime* theWrappedObject, const QDateTime& other) const; - bool __gt__(QDateTime* theWrappedObject, const QDateTime& other) const; - bool __ge__(QDateTime* theWrappedObject, const QDateTime& other) const; - void readFrom(QDateTime* theWrappedObject, QDataStream& arg__1); - qint64 secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; - void setDate(QDateTime* theWrappedObject, const QDate& date); - void setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs); - void 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); - void swap(QDateTime* theWrappedObject, QDateTime& other); - QTime time(QDateTime* theWrappedObject) const; - Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const; - QDateTime toLocalTime(QDateTime* theWrappedObject) const; - qint64 toMSecsSinceEpoch(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(Country CurrencySymbolFormat FormatType Language MeasurementSystem NumberOption QuotationStyle Script ) -Q_FLAGS(NumberOptions ) -enum Country{ - AnyCountry = QLocale::AnyCountry, Afghanistan = QLocale::Afghanistan, Albania = QLocale::Albania, Algeria = QLocale::Algeria, AmericanSamoa = QLocale::AmericanSamoa, Andorra = QLocale::Andorra, Angola = QLocale::Angola, Anguilla = QLocale::Anguilla, Antarctica = QLocale::Antarctica, AntiguaAndBarbuda = QLocale::AntiguaAndBarbuda, Argentina = QLocale::Argentina, Armenia = QLocale::Armenia, Aruba = QLocale::Aruba, Australia = QLocale::Australia, Austria = QLocale::Austria, Azerbaijan = QLocale::Azerbaijan, Bahamas = QLocale::Bahamas, Bahrain = QLocale::Bahrain, Bangladesh = QLocale::Bangladesh, Barbados = QLocale::Barbados, Belarus = QLocale::Belarus, Belgium = QLocale::Belgium, Belize = QLocale::Belize, Benin = QLocale::Benin, Bermuda = QLocale::Bermuda, Bhutan = QLocale::Bhutan, Bolivia = QLocale::Bolivia, BosniaAndHerzegowina = QLocale::BosniaAndHerzegowina, Botswana = QLocale::Botswana, BouvetIsland = QLocale::BouvetIsland, Brazil = QLocale::Brazil, BritishIndianOceanTerritory = QLocale::BritishIndianOceanTerritory, Brunei = QLocale::Brunei, Bulgaria = QLocale::Bulgaria, BurkinaFaso = QLocale::BurkinaFaso, Burundi = QLocale::Burundi, Cambodia = QLocale::Cambodia, Cameroon = QLocale::Cameroon, Canada = QLocale::Canada, CapeVerde = QLocale::CapeVerde, CaymanIslands = QLocale::CaymanIslands, CentralAfricanRepublic = QLocale::CentralAfricanRepublic, Chad = QLocale::Chad, Chile = QLocale::Chile, China = QLocale::China, ChristmasIsland = QLocale::ChristmasIsland, CocosIslands = QLocale::CocosIslands, Colombia = QLocale::Colombia, Comoros = QLocale::Comoros, CongoKinshasa = QLocale::CongoKinshasa, CongoBrazzaville = QLocale::CongoBrazzaville, CookIslands = QLocale::CookIslands, CostaRica = QLocale::CostaRica, IvoryCoast = QLocale::IvoryCoast, Croatia = QLocale::Croatia, Cuba = QLocale::Cuba, Cyprus = QLocale::Cyprus, CzechRepublic = QLocale::CzechRepublic, Denmark = QLocale::Denmark, Djibouti = QLocale::Djibouti, Dominica = QLocale::Dominica, DominicanRepublic = QLocale::DominicanRepublic, EastTimor = QLocale::EastTimor, Ecuador = QLocale::Ecuador, Egypt = QLocale::Egypt, ElSalvador = QLocale::ElSalvador, EquatorialGuinea = QLocale::EquatorialGuinea, Eritrea = QLocale::Eritrea, Estonia = QLocale::Estonia, Ethiopia = QLocale::Ethiopia, FalklandIslands = QLocale::FalklandIslands, FaroeIslands = QLocale::FaroeIslands, Fiji = QLocale::Fiji, Finland = QLocale::Finland, France = QLocale::France, Guernsey = QLocale::Guernsey, FrenchGuiana = QLocale::FrenchGuiana, FrenchPolynesia = QLocale::FrenchPolynesia, FrenchSouthernTerritories = QLocale::FrenchSouthernTerritories, Gabon = QLocale::Gabon, Gambia = QLocale::Gambia, Georgia = QLocale::Georgia, Germany = QLocale::Germany, Ghana = QLocale::Ghana, Gibraltar = QLocale::Gibraltar, Greece = QLocale::Greece, Greenland = QLocale::Greenland, Grenada = QLocale::Grenada, Guadeloupe = QLocale::Guadeloupe, Guam = QLocale::Guam, Guatemala = QLocale::Guatemala, Guinea = QLocale::Guinea, GuineaBissau = QLocale::GuineaBissau, Guyana = QLocale::Guyana, Haiti = QLocale::Haiti, HeardAndMcDonaldIslands = QLocale::HeardAndMcDonaldIslands, Honduras = QLocale::Honduras, HongKong = QLocale::HongKong, Hungary = QLocale::Hungary, Iceland = QLocale::Iceland, India = QLocale::India, Indonesia = QLocale::Indonesia, Iran = QLocale::Iran, Iraq = QLocale::Iraq, Ireland = QLocale::Ireland, Israel = QLocale::Israel, Italy = QLocale::Italy, Jamaica = QLocale::Jamaica, Japan = QLocale::Japan, Jordan = QLocale::Jordan, Kazakhstan = QLocale::Kazakhstan, Kenya = QLocale::Kenya, Kiribati = QLocale::Kiribati, NorthKorea = QLocale::NorthKorea, SouthKorea = QLocale::SouthKorea, Kuwait = QLocale::Kuwait, Kyrgyzstan = QLocale::Kyrgyzstan, Laos = QLocale::Laos, Latvia = QLocale::Latvia, Lebanon = QLocale::Lebanon, Lesotho = QLocale::Lesotho, Liberia = QLocale::Liberia, Libya = QLocale::Libya, Liechtenstein = QLocale::Liechtenstein, Lithuania = QLocale::Lithuania, Luxembourg = QLocale::Luxembourg, Macau = QLocale::Macau, Macedonia = QLocale::Macedonia, Madagascar = QLocale::Madagascar, Malawi = QLocale::Malawi, Malaysia = QLocale::Malaysia, Maldives = QLocale::Maldives, Mali = QLocale::Mali, Malta = QLocale::Malta, MarshallIslands = QLocale::MarshallIslands, Martinique = QLocale::Martinique, Mauritania = QLocale::Mauritania, Mauritius = QLocale::Mauritius, Mayotte = QLocale::Mayotte, Mexico = QLocale::Mexico, Micronesia = QLocale::Micronesia, Moldova = QLocale::Moldova, Monaco = QLocale::Monaco, Mongolia = QLocale::Mongolia, Montserrat = QLocale::Montserrat, Morocco = QLocale::Morocco, Mozambique = QLocale::Mozambique, Myanmar = QLocale::Myanmar, Namibia = QLocale::Namibia, NauruCountry = QLocale::NauruCountry, Nepal = QLocale::Nepal, Netherlands = QLocale::Netherlands, CuraSao = QLocale::CuraSao, NewCaledonia = QLocale::NewCaledonia, NewZealand = QLocale::NewZealand, Nicaragua = QLocale::Nicaragua, Niger = QLocale::Niger, Nigeria = QLocale::Nigeria, Niue = QLocale::Niue, NorfolkIsland = QLocale::NorfolkIsland, NorthernMarianaIslands = QLocale::NorthernMarianaIslands, Norway = QLocale::Norway, Oman = QLocale::Oman, Pakistan = QLocale::Pakistan, Palau = QLocale::Palau, PalestinianTerritories = QLocale::PalestinianTerritories, Panama = QLocale::Panama, PapuaNewGuinea = QLocale::PapuaNewGuinea, Paraguay = QLocale::Paraguay, Peru = QLocale::Peru, Philippines = QLocale::Philippines, Pitcairn = QLocale::Pitcairn, Poland = QLocale::Poland, Portugal = QLocale::Portugal, PuertoRico = QLocale::PuertoRico, Qatar = QLocale::Qatar, Reunion = QLocale::Reunion, Romania = QLocale::Romania, Russia = QLocale::Russia, Rwanda = QLocale::Rwanda, SaintKittsAndNevis = QLocale::SaintKittsAndNevis, SaintLucia = QLocale::SaintLucia, SaintVincentAndTheGrenadines = QLocale::SaintVincentAndTheGrenadines, Samoa = QLocale::Samoa, SanMarino = QLocale::SanMarino, SaoTomeAndPrincipe = QLocale::SaoTomeAndPrincipe, SaudiArabia = QLocale::SaudiArabia, Senegal = QLocale::Senegal, Seychelles = QLocale::Seychelles, SierraLeone = QLocale::SierraLeone, Singapore = QLocale::Singapore, Slovakia = QLocale::Slovakia, Slovenia = QLocale::Slovenia, SolomonIslands = QLocale::SolomonIslands, Somalia = QLocale::Somalia, SouthAfrica = QLocale::SouthAfrica, SouthGeorgiaAndTheSouthSandwichIslands = QLocale::SouthGeorgiaAndTheSouthSandwichIslands, Spain = QLocale::Spain, SriLanka = QLocale::SriLanka, SaintHelena = QLocale::SaintHelena, SaintPierreAndMiquelon = QLocale::SaintPierreAndMiquelon, Sudan = QLocale::Sudan, Suriname = QLocale::Suriname, SvalbardAndJanMayenIslands = QLocale::SvalbardAndJanMayenIslands, Swaziland = QLocale::Swaziland, Sweden = QLocale::Sweden, Switzerland = QLocale::Switzerland, Syria = QLocale::Syria, Taiwan = QLocale::Taiwan, Tajikistan = QLocale::Tajikistan, Tanzania = QLocale::Tanzania, Thailand = QLocale::Thailand, Togo = QLocale::Togo, Tokelau = QLocale::Tokelau, Tonga = QLocale::Tonga, 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, UnitedStatesVirginIslands = QLocale::UnitedStatesVirginIslands, WallisAndFutunaIslands = QLocale::WallisAndFutunaIslands, WesternSahara = QLocale::WesternSahara, Yemen = QLocale::Yemen, CanaryIslands = QLocale::CanaryIslands, Zambia = QLocale::Zambia, Zimbabwe = QLocale::Zimbabwe, ClippertonIsland = QLocale::ClippertonIsland, Montenegro = QLocale::Montenegro, Serbia = QLocale::Serbia, SaintBarthelemy = QLocale::SaintBarthelemy, SaintMartin = QLocale::SaintMartin, LatinAmericaAndTheCaribbean = QLocale::LatinAmericaAndTheCaribbean, AscensionIsland = QLocale::AscensionIsland, AlandIslands = QLocale::AlandIslands, DiegoGarcia = QLocale::DiegoGarcia, CeutaAndMelilla = QLocale::CeutaAndMelilla, IsleOfMan = QLocale::IsleOfMan, Jersey = QLocale::Jersey, TristanDaCunha = QLocale::TristanDaCunha, SouthSudan = QLocale::SouthSudan, Bonaire = QLocale::Bonaire, SintMaarten = QLocale::SintMaarten, DemocraticRepublicOfCongo = QLocale::DemocraticRepublicOfCongo, PeoplesRepublicOfCongo = QLocale::PeoplesRepublicOfCongo, DemocraticRepublicOfKorea = QLocale::DemocraticRepublicOfKorea, RepublicOfKorea = QLocale::RepublicOfKorea, RussianFederation = QLocale::RussianFederation, SyrianArabRepublic = QLocale::SyrianArabRepublic, LastCountry = QLocale::LastCountry}; -enum CurrencySymbolFormat{ - CurrencyIsoCode = QLocale::CurrencyIsoCode, CurrencySymbol = QLocale::CurrencySymbol, CurrencyDisplayName = QLocale::CurrencyDisplayName}; -enum FormatType{ - LongFormat = QLocale::LongFormat, ShortFormat = QLocale::ShortFormat, NarrowFormat = QLocale::NarrowFormat}; -enum Language{ - AnyLanguage = QLocale::AnyLanguage, C = QLocale::C, Abkhazian = QLocale::Abkhazian, Oromo = QLocale::Oromo, Afar = QLocale::Afar, Afrikaans = QLocale::Afrikaans, Albanian = QLocale::Albanian, Amharic = QLocale::Amharic, Arabic = QLocale::Arabic, Armenian = QLocale::Armenian, Assamese = QLocale::Assamese, Aymara = QLocale::Aymara, Azerbaijani = QLocale::Azerbaijani, Bashkir = QLocale::Bashkir, Basque = QLocale::Basque, Bengali = QLocale::Bengali, Dzongkha = QLocale::Dzongkha, Bihari = QLocale::Bihari, Bislama = QLocale::Bislama, Breton = QLocale::Breton, Bulgarian = QLocale::Bulgarian, Burmese = QLocale::Burmese, Belarusian = QLocale::Belarusian, Khmer = QLocale::Khmer, Catalan = QLocale::Catalan, Chinese = QLocale::Chinese, Corsican = QLocale::Corsican, Croatian = QLocale::Croatian, Czech = QLocale::Czech, Danish = QLocale::Danish, Dutch = QLocale::Dutch, English = QLocale::English, Esperanto = QLocale::Esperanto, Estonian = QLocale::Estonian, Faroese = QLocale::Faroese, Fijian = QLocale::Fijian, Finnish = QLocale::Finnish, French = QLocale::French, WesternFrisian = QLocale::WesternFrisian, Gaelic = QLocale::Gaelic, Galician = QLocale::Galician, Georgian = QLocale::Georgian, German = QLocale::German, Greek = QLocale::Greek, Greenlandic = QLocale::Greenlandic, Guarani = QLocale::Guarani, Gujarati = QLocale::Gujarati, Hausa = QLocale::Hausa, Hebrew = QLocale::Hebrew, Hindi = QLocale::Hindi, Hungarian = QLocale::Hungarian, Icelandic = QLocale::Icelandic, Indonesian = QLocale::Indonesian, Interlingua = QLocale::Interlingua, Interlingue = QLocale::Interlingue, Inuktitut = QLocale::Inuktitut, Inupiak = QLocale::Inupiak, Irish = QLocale::Irish, Italian = QLocale::Italian, Japanese = QLocale::Japanese, Javanese = QLocale::Javanese, Kannada = QLocale::Kannada, Kashmiri = QLocale::Kashmiri, Kazakh = QLocale::Kazakh, Kinyarwanda = QLocale::Kinyarwanda, Kirghiz = QLocale::Kirghiz, Korean = QLocale::Korean, Kurdish = QLocale::Kurdish, Rundi = QLocale::Rundi, Lao = QLocale::Lao, Latin = QLocale::Latin, Latvian = QLocale::Latvian, Lingala = QLocale::Lingala, Lithuanian = QLocale::Lithuanian, Macedonian = QLocale::Macedonian, Malagasy = QLocale::Malagasy, Malay = QLocale::Malay, Malayalam = QLocale::Malayalam, Maltese = QLocale::Maltese, Maori = QLocale::Maori, Marathi = QLocale::Marathi, Marshallese = QLocale::Marshallese, Mongolian = QLocale::Mongolian, NauruLanguage = QLocale::NauruLanguage, Nepali = QLocale::Nepali, NorwegianBokmal = QLocale::NorwegianBokmal, Occitan = QLocale::Occitan, Oriya = QLocale::Oriya, Pashto = QLocale::Pashto, Persian = QLocale::Persian, Polish = QLocale::Polish, Portuguese = QLocale::Portuguese, Punjabi = QLocale::Punjabi, Quechua = QLocale::Quechua, Romansh = QLocale::Romansh, Romanian = QLocale::Romanian, Russian = QLocale::Russian, Samoan = QLocale::Samoan, Sango = QLocale::Sango, Sanskrit = QLocale::Sanskrit, Serbian = QLocale::Serbian, Ossetic = QLocale::Ossetic, SouthernSotho = QLocale::SouthernSotho, Tswana = QLocale::Tswana, Shona = QLocale::Shona, Sindhi = QLocale::Sindhi, Sinhala = QLocale::Sinhala, Swati = QLocale::Swati, Slovak = QLocale::Slovak, Slovenian = QLocale::Slovenian, Somali = QLocale::Somali, Spanish = QLocale::Spanish, Sundanese = QLocale::Sundanese, Swahili = QLocale::Swahili, Swedish = QLocale::Swedish, Sardinian = QLocale::Sardinian, Tajik = QLocale::Tajik, Tamil = QLocale::Tamil, Tatar = QLocale::Tatar, Telugu = QLocale::Telugu, Thai = QLocale::Thai, Tibetan = QLocale::Tibetan, Tigrinya = QLocale::Tigrinya, Tongan = QLocale::Tongan, Tsonga = QLocale::Tsonga, Turkish = QLocale::Turkish, Turkmen = QLocale::Turkmen, Tahitian = QLocale::Tahitian, 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, Bosnian = QLocale::Bosnian, Divehi = QLocale::Divehi, Manx = QLocale::Manx, Cornish = QLocale::Cornish, Akan = QLocale::Akan, Konkani = QLocale::Konkani, Ga = QLocale::Ga, Igbo = QLocale::Igbo, Kamba = QLocale::Kamba, Syriac = QLocale::Syriac, Blin = QLocale::Blin, Geez = QLocale::Geez, Koro = QLocale::Koro, Sidamo = QLocale::Sidamo, Atsam = QLocale::Atsam, Tigre = QLocale::Tigre, Jju = QLocale::Jju, Friulian = QLocale::Friulian, Venda = QLocale::Venda, Ewe = QLocale::Ewe, Walamo = QLocale::Walamo, Hawaiian = QLocale::Hawaiian, Tyap = QLocale::Tyap, Nyanja = QLocale::Nyanja, Filipino = QLocale::Filipino, SwissGerman = QLocale::SwissGerman, SichuanYi = QLocale::SichuanYi, Kpelle = QLocale::Kpelle, LowGerman = QLocale::LowGerman, SouthNdebele = QLocale::SouthNdebele, NorthernSotho = QLocale::NorthernSotho, NorthernSami = QLocale::NorthernSami, Taroko = QLocale::Taroko, Gusii = QLocale::Gusii, Taita = QLocale::Taita, Fulah = QLocale::Fulah, Kikuyu = QLocale::Kikuyu, Samburu = QLocale::Samburu, Sena = QLocale::Sena, NorthNdebele = QLocale::NorthNdebele, Rombo = QLocale::Rombo, Tachelhit = QLocale::Tachelhit, Kabyle = QLocale::Kabyle, Nyankole = QLocale::Nyankole, Bena = QLocale::Bena, Vunjo = QLocale::Vunjo, Bambara = QLocale::Bambara, Embu = QLocale::Embu, Cherokee = QLocale::Cherokee, Morisyen = QLocale::Morisyen, Makonde = QLocale::Makonde, Langi = QLocale::Langi, Ganda = QLocale::Ganda, Bemba = QLocale::Bemba, Kabuverdianu = QLocale::Kabuverdianu, Meru = QLocale::Meru, Kalenjin = QLocale::Kalenjin, Nama = QLocale::Nama, Machame = QLocale::Machame, Colognian = QLocale::Colognian, Masai = QLocale::Masai, Soga = QLocale::Soga, Luyia = QLocale::Luyia, Asu = QLocale::Asu, Teso = QLocale::Teso, Saho = QLocale::Saho, KoyraChiini = QLocale::KoyraChiini, Rwa = QLocale::Rwa, Luo = QLocale::Luo, Chiga = QLocale::Chiga, CentralMoroccoTamazight = QLocale::CentralMoroccoTamazight, KoyraboroSenni = QLocale::KoyraboroSenni, Shambala = QLocale::Shambala, Bodo = QLocale::Bodo, Avaric = QLocale::Avaric, Chamorro = QLocale::Chamorro, Chechen = QLocale::Chechen, Church = QLocale::Church, Chuvash = QLocale::Chuvash, Cree = QLocale::Cree, Haitian = QLocale::Haitian, Herero = QLocale::Herero, HiriMotu = QLocale::HiriMotu, Kanuri = QLocale::Kanuri, Komi = QLocale::Komi, Kongo = QLocale::Kongo, Kwanyama = QLocale::Kwanyama, Limburgish = QLocale::Limburgish, LubaKatanga = QLocale::LubaKatanga, Luxembourgish = QLocale::Luxembourgish, Navaho = QLocale::Navaho, Ndonga = QLocale::Ndonga, Ojibwa = QLocale::Ojibwa, Pali = QLocale::Pali, Walloon = QLocale::Walloon, Aghem = QLocale::Aghem, Basaa = QLocale::Basaa, Zarma = QLocale::Zarma, Duala = QLocale::Duala, JolaFonyi = QLocale::JolaFonyi, Ewondo = QLocale::Ewondo, Bafia = QLocale::Bafia, MakhuwaMeetto = QLocale::MakhuwaMeetto, Mundang = QLocale::Mundang, Kwasio = QLocale::Kwasio, Nuer = QLocale::Nuer, Sakha = QLocale::Sakha, Sangu = QLocale::Sangu, CongoSwahili = QLocale::CongoSwahili, Tasawaq = QLocale::Tasawaq, Vai = QLocale::Vai, Walser = QLocale::Walser, Yangben = QLocale::Yangben, Avestan = QLocale::Avestan, Asturian = QLocale::Asturian, Ngomba = QLocale::Ngomba, Kako = QLocale::Kako, Meta = QLocale::Meta, Ngiemboon = QLocale::Ngiemboon, Norwegian = QLocale::Norwegian, Moldavian = QLocale::Moldavian, SerboCroatian = QLocale::SerboCroatian, Tagalog = QLocale::Tagalog, Twi = QLocale::Twi, Afan = QLocale::Afan, Byelorussian = QLocale::Byelorussian, Bhutani = QLocale::Bhutani, Cambodian = QLocale::Cambodian, Kurundi = QLocale::Kurundi, RhaetoRomance = QLocale::RhaetoRomance, Chewa = QLocale::Chewa, Frisian = QLocale::Frisian, LastLanguage = QLocale::LastLanguage}; -enum MeasurementSystem{ - MetricSystem = QLocale::MetricSystem, ImperialUSSystem = QLocale::ImperialUSSystem, ImperialUKSystem = QLocale::ImperialUKSystem, ImperialSystem = QLocale::ImperialSystem}; -enum NumberOption{ - OmitGroupSeparator = QLocale::OmitGroupSeparator, RejectGroupSeparator = QLocale::RejectGroupSeparator}; -enum QuotationStyle{ - StandardQuotation = QLocale::StandardQuotation, AlternateQuotation = QLocale::AlternateQuotation}; -enum Script{ - AnyScript = QLocale::AnyScript, ArabicScript = QLocale::ArabicScript, CyrillicScript = QLocale::CyrillicScript, DeseretScript = QLocale::DeseretScript, GurmukhiScript = QLocale::GurmukhiScript, SimplifiedHanScript = QLocale::SimplifiedHanScript, TraditionalHanScript = QLocale::TraditionalHanScript, LatinScript = QLocale::LatinScript, MongolianScript = QLocale::MongolianScript, TifinaghScript = QLocale::TifinaghScript, ArmenianScript = QLocale::ArmenianScript, BengaliScript = QLocale::BengaliScript, CherokeeScript = QLocale::CherokeeScript, DevanagariScript = QLocale::DevanagariScript, EthiopicScript = QLocale::EthiopicScript, GeorgianScript = QLocale::GeorgianScript, GreekScript = QLocale::GreekScript, GujaratiScript = QLocale::GujaratiScript, HebrewScript = QLocale::HebrewScript, JapaneseScript = QLocale::JapaneseScript, KhmerScript = QLocale::KhmerScript, KannadaScript = QLocale::KannadaScript, KoreanScript = QLocale::KoreanScript, LaoScript = QLocale::LaoScript, MalayalamScript = QLocale::MalayalamScript, MyanmarScript = QLocale::MyanmarScript, OriyaScript = QLocale::OriyaScript, TamilScript = QLocale::TamilScript, TeluguScript = QLocale::TeluguScript, ThaanaScript = QLocale::ThaanaScript, ThaiScript = QLocale::ThaiScript, TibetanScript = QLocale::TibetanScript, SinhalaScript = QLocale::SinhalaScript, SyriacScript = QLocale::SyriacScript, YiScript = QLocale::YiScript, VaiScript = QLocale::VaiScript, SimplifiedChineseScript = QLocale::SimplifiedChineseScript, TraditionalChineseScript = QLocale::TraditionalChineseScript, LastScript = QLocale::LastScript}; -Q_DECLARE_FLAGS(NumberOptions, NumberOption) -public slots: -QLocale* new_QLocale(); -QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); -QLocale* new_QLocale(QLocale::Language language, QLocale::Script script, QLocale::Country country); -QLocale* new_QLocale(const QLocale& other); -QLocale* new_QLocale(const QString& name); -void delete_QLocale(QLocale* obj) { delete obj; } - QString amText(QLocale* theWrappedObject) const; - QString bcp47Name(QLocale* theWrappedObject) const; - QLocale static_QLocale_c(); - QList static_QLocale_countriesForLanguage(QLocale::Language lang); - QLocale::Country country(QLocale* theWrappedObject) const; - QString static_QLocale_countryToString(QLocale::Country country); - QString createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const; - QString currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1 = QLocale::CurrencySymbol) const; - QString dateFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - QString dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - QString dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QChar decimalPoint(QLocale* theWrappedObject) const; - QChar exponential(QLocale* theWrappedObject) const; - Qt::DayOfWeek firstDayOfWeek(QLocale* theWrappedObject) const; - QChar groupSeparator(QLocale* theWrappedObject) const; - QLocale::Language language(QLocale* theWrappedObject) const; - QString static_QLocale_languageToString(QLocale::Language language); - QList static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); - QLocale::MeasurementSystem measurementSystem(QLocale* theWrappedObject) const; - QString monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QString name(QLocale* theWrappedObject) const; - QString nativeCountryName(QLocale* theWrappedObject) const; - QString nativeLanguageName(QLocale* theWrappedObject) const; - QChar negativeSign(QLocale* theWrappedObject) const; - QLocale::NumberOptions numberOptions(QLocale* theWrappedObject) const; - bool __ne__(QLocale* theWrappedObject, const QLocale& other) const; - void writeTo(QLocale* theWrappedObject, QDataStream& arg__1); - bool __eq__(QLocale* theWrappedObject, const QLocale& other) const; - void readFrom(QLocale* theWrappedObject, QDataStream& arg__1); - QChar percent(QLocale* theWrappedObject) const; - QString pmText(QLocale* theWrappedObject) const; - QChar positiveSign(QLocale* theWrappedObject) const; - QString quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; - QString quoteString(QLocale* theWrappedObject, const QStringRef& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; - QLocale::Script script(QLocale* theWrappedObject) const; - QString static_QLocale_scriptToString(QLocale::Script script); - void static_QLocale_setDefault(const QLocale& locale); - void setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options); - QString standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QString standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; - QLocale static_QLocale_system(); - Qt::LayoutDirection textDirection(QLocale* theWrappedObject) const; - QString timeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; - QString toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, float arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol = QString()) const; - QString toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol = QString()) const; - QDate toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; - QDate toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const; - QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format = QLocale::LongFormat) const; - QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; - double toDouble(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - QString toLower(QLocale* theWrappedObject, const QString& str) const; - short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = 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, short i) const; - QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; - QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; - uint toUInt(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - qulonglong toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = 0) const; - QString toUpper(QLocale* theWrappedObject, const QString& str) const; - QStringList uiLanguages(QLocale* theWrappedObject) const; - QList weekdays(QLocale* theWrappedObject) const; - QChar zeroDigit(QLocale* theWrappedObject) const; - QString py_toString(QLocale*); -}; - - - - - -class PythonQtWrapper_QPoint : public QObject -{ Q_OBJECT -public: -public slots: -QPoint* new_QPoint(); -QPoint* new_QPoint(int xpos, int ypos); -QPoint* new_QPoint(const QPoint& other) { -QPoint* a = new QPoint(); -*((QPoint*)a) = other; -return a; } -void delete_QPoint(QPoint* obj) { delete obj; } - 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, double factor); - const QPoint __mul__(QPoint* theWrappedObject, float factor); - const QPoint __mul__(QPoint* theWrappedObject, int factor); - QPoint* __imul__(QPoint* theWrappedObject, double factor); - QPoint* __imul__(QPoint* theWrappedObject, float factor); - QPoint* __imul__(QPoint* theWrappedObject, int factor); - const QPoint __add__(QPoint* theWrappedObject, const QPoint& p2); - QPoint* __iadd__(QPoint* theWrappedObject, const QPoint& p); - const QPoint __sub__(QPoint* theWrappedObject, const QPoint& p2); - QPoint* __isub__(QPoint* theWrappedObject, const QPoint& p); - const QPoint __div__(QPoint* theWrappedObject, qreal c); - QPoint* __idiv__(QPoint* theWrappedObject, qreal divisor); - void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); - bool __eq__(QPoint* theWrappedObject, const QPoint& p2); - void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); - void setX(QPoint* theWrappedObject, int x); - void setY(QPoint* theWrappedObject, int y); - 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 divisor); - QPointF* __idiv__(QPointF* theWrappedObject, qreal c); - void writeTo(QPointF* theWrappedObject, QDataStream& arg__1); - bool __eq__(QPointF* theWrappedObject, const QPointF& p2); - void readFrom(QPointF* theWrappedObject, QDataStream& arg__1); - void setX(QPointF* theWrappedObject, qreal x); - void setY(QPointF* theWrappedObject, qreal y); - QPoint toPoint(QPointF* theWrappedObject) const; - 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; - QRect __and__(QRect* theWrappedObject, const QRect& r) const; - QRect* __iand__(QRect* theWrappedObject, const QRect& r); - void writeTo(QRect* theWrappedObject, QDataStream& arg__1); - bool __eq__(QRect* theWrappedObject, const QRect& arg__2); - void readFrom(QRect* theWrappedObject, QDataStream& arg__1); - QRect __or__(QRect* theWrappedObject, const QRect& r) const; - QRect* __ior__(QRect* theWrappedObject, const QRect& r); - int right(QRect* theWrappedObject) const; - void setBottom(QRect* theWrappedObject, int pos); - void setBottomLeft(QRect* theWrappedObject, const QPoint& p); - void setBottomRight(QRect* theWrappedObject, const QPoint& p); - void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2); - void setHeight(QRect* theWrappedObject, int h); - void setLeft(QRect* theWrappedObject, int pos); - void setRect(QRect* theWrappedObject, int x, int y, int w, int h); - void setRight(QRect* theWrappedObject, int pos); - void setSize(QRect* theWrappedObject, const QSize& s); - void setTop(QRect* theWrappedObject, int pos); - void setTopLeft(QRect* theWrappedObject, const QPoint& p); - void setTopRight(QRect* theWrappedObject, const QPoint& p); - void setWidth(QRect* theWrappedObject, int w); - void setX(QRect* theWrappedObject, int x); - void setY(QRect* theWrappedObject, int y); - QSize size(QRect* theWrappedObject) const; - int top(QRect* theWrappedObject) const; - QPoint topLeft(QRect* theWrappedObject) const; - QPoint topRight(QRect* theWrappedObject) const; - void translate(QRect* theWrappedObject, const QPoint& p); - void translate(QRect* theWrappedObject, int dx, int dy); - QRect translated(QRect* theWrappedObject, const QPoint& p) const; - QRect translated(QRect* theWrappedObject, int dx, int dy) const; - QRect 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; - 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; - QRectF __and__(QRectF* theWrappedObject, const QRectF& r) const; - QRectF* __iand__(QRectF* theWrappedObject, const QRectF& r); - void writeTo(QRectF* theWrappedObject, QDataStream& arg__1); - bool __eq__(QRectF* theWrappedObject, const QRectF& arg__2); - void readFrom(QRectF* theWrappedObject, QDataStream& arg__1); - QRectF __or__(QRectF* theWrappedObject, const QRectF& r) const; - QRectF* __ior__(QRectF* theWrappedObject, const QRectF& r); - qreal right(QRectF* theWrappedObject) const; - void setBottom(QRectF* theWrappedObject, qreal pos); - void setBottomLeft(QRectF* theWrappedObject, const QPointF& p); - void setBottomRight(QRectF* theWrappedObject, const QPointF& p); - void setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - void setHeight(QRectF* theWrappedObject, qreal h); - void setLeft(QRectF* theWrappedObject, qreal pos); - void setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void setRight(QRectF* theWrappedObject, qreal pos); - void setSize(QRectF* theWrappedObject, const QSizeF& s); - void setTop(QRectF* theWrappedObject, qreal pos); - void setTopLeft(QRectF* theWrappedObject, const QPointF& p); - void setTopRight(QRectF* theWrappedObject, const QPointF& p); - void setWidth(QRectF* theWrappedObject, qreal w); - void setX(QRectF* theWrappedObject, qreal pos); - void setY(QRectF* theWrappedObject, qreal pos); - QSizeF size(QRectF* theWrappedObject) const; - QRect toAlignedRect(QRectF* theWrappedObject) const; - QRect toRect(QRectF* theWrappedObject) const; - qreal top(QRectF* theWrappedObject) const; - QPointF topLeft(QRectF* theWrappedObject) const; - QPointF topRight(QRectF* theWrappedObject) const; - void translate(QRectF* theWrappedObject, const QPointF& p); - void translate(QRectF* theWrappedObject, qreal dx, qreal dy); - QRectF translated(QRectF* theWrappedObject, const QPointF& p) const; - QRectF translated(QRectF* theWrappedObject, qreal dx, qreal dy) const; - QRectF 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(CaretMode PatternSyntax ) -enum CaretMode{ - CaretAtZero = QRegExp::CaretAtZero, CaretAtOffset = QRegExp::CaretAtOffset, CaretWontMatch = QRegExp::CaretWontMatch}; -enum PatternSyntax{ - RegExp = QRegExp::RegExp, Wildcard = QRegExp::Wildcard, FixedString = QRegExp::FixedString, RegExp2 = QRegExp::RegExp2, WildcardUnix = QRegExp::WildcardUnix, W3CXmlSchema11 = QRegExp::W3CXmlSchema11}; -public slots: -QRegExp* new_QRegExp(); -QRegExp* new_QRegExp(const QRegExp& rx); -QRegExp* new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, QRegExp::PatternSyntax syntax = QRegExp::RegExp); -void delete_QRegExp(QRegExp* obj) { delete obj; } - QString cap(QRegExp* theWrappedObject, int nth = 0); - int captureCount(QRegExp* theWrappedObject) const; - QStringList capturedTexts(QRegExp* theWrappedObject); - Qt::CaseSensitivity caseSensitivity(QRegExp* theWrappedObject) const; - QString errorString(QRegExp* theWrappedObject); - QString static_QRegExp_escape(const QString& str); - bool exactMatch(QRegExp* theWrappedObject, const QString& str) const; - int indexIn(QRegExp* theWrappedObject, const QString& str, int offset = 0, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; - bool isEmpty(QRegExp* theWrappedObject) const; - bool isMinimal(QRegExp* theWrappedObject) const; - bool isValid(QRegExp* theWrappedObject) const; - int lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset = -1, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; - int matchedLength(QRegExp* theWrappedObject) const; - bool __ne__(QRegExp* theWrappedObject, const QRegExp& rx) const; - void writeTo(QRegExp* theWrappedObject, QDataStream& out); - bool __eq__(QRegExp* theWrappedObject, const QRegExp& rx) const; - void readFrom(QRegExp* theWrappedObject, QDataStream& in); - QString pattern(QRegExp* theWrappedObject) const; - QRegExp::PatternSyntax patternSyntax(QRegExp* theWrappedObject) const; - int pos(QRegExp* theWrappedObject, int nth = 0); - void setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs); - void setMinimal(QRegExp* theWrappedObject, bool minimal); - void setPattern(QRegExp* theWrappedObject, const QString& pattern); - void setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax); - void swap(QRegExp* theWrappedObject, QRegExp& other); - QString py_toString(QRegExp*); -}; - - - - - -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); - QSize scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const; - QSize scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const; - void setHeight(QSize* theWrappedObject, int h); - void setWidth(QSize* theWrappedObject, int w); - void transpose(QSize* theWrappedObject); - QSize transposed(QSize* theWrappedObject) const; - 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); - QSizeF scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const; - QSizeF scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const; - void setHeight(QSizeF* theWrappedObject, qreal h); - void setWidth(QSizeF* theWrappedObject, qreal w); - QSize toSize(QSizeF* theWrappedObject) const; - void transpose(QSizeF* theWrappedObject); - QSizeF transposed(QSizeF* theWrappedObject) const; - qreal width(QSizeF* theWrappedObject) const; - QString py_toString(QSizeF*); - bool __nonzero__(QSizeF* obj) { return !obj->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(ComponentFormattingOption ParsingMode UrlFormattingOption ) -Q_FLAGS(ComponentFormattingOptions ) -enum ComponentFormattingOption{ - PrettyDecoded = QUrl::PrettyDecoded, EncodeSpaces = QUrl::EncodeSpaces, EncodeUnicode = QUrl::EncodeUnicode, EncodeDelimiters = QUrl::EncodeDelimiters, EncodeReserved = QUrl::EncodeReserved, DecodeReserved = QUrl::DecodeReserved, FullyEncoded = QUrl::FullyEncoded, FullyDecoded = QUrl::FullyDecoded}; -enum ParsingMode{ - TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode, DecodedMode = QUrl::DecodedMode}; -enum UrlFormattingOption{ - None = QUrl::None, RemoveScheme = QUrl::RemoveScheme, RemovePassword = QUrl::RemovePassword, RemoveUserInfo = QUrl::RemoveUserInfo, RemovePort = QUrl::RemovePort, RemoveAuthority = QUrl::RemoveAuthority, RemovePath = QUrl::RemovePath, RemoveQuery = QUrl::RemoveQuery, RemoveFragment = QUrl::RemoveFragment, PreferLocalFile = QUrl::PreferLocalFile, StripTrailingSlash = QUrl::StripTrailingSlash}; -Q_DECLARE_FLAGS(ComponentFormattingOptions, ComponentFormattingOption) -public slots: -QUrl* new_QUrl(); -QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); -QUrl* new_QUrl(const QUrl& copy); -void delete_QUrl(QUrl* obj) { delete obj; } - QString authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - void clear(QUrl* theWrappedObject); - QString errorString(QUrl* theWrappedObject) const; - QString fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - QString static_QUrl_fromAce(const QByteArray& arg__1); - QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode = QUrl::TolerantMode); - QUrl static_QUrl_fromLocalFile(const QString& localfile); - QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1); - QUrl static_QUrl_fromUserInput(const QString& userInput); - bool hasFragment(QUrl* theWrappedObject) const; - bool hasQuery(QUrl* theWrappedObject) const; - QString host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::PrettyDecoded) const; - QStringList static_QUrl_idnWhitelist(); - bool isEmpty(QUrl* theWrappedObject) const; - bool isLocalFile(QUrl* theWrappedObject) const; - bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const; - bool isRelative(QUrl* theWrappedObject) const; - bool isValid(QUrl* theWrappedObject) const; - bool __ne__(QUrl* theWrappedObject, const QUrl& url) const; - bool __lt__(QUrl* theWrappedObject, const QUrl& url) const; - void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); - bool __eq__(QUrl* theWrappedObject, const QUrl& url) const; - void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); - QString password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::PrettyDecoded) const; - QString path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - int port(QUrl* theWrappedObject, int defaultPort = -1) const; - QString query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::PrettyDecoded) const; - QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const; - QString scheme(QUrl* theWrappedObject) const; - void setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode = QUrl::TolerantMode); - void static_QUrl_setIdnWhitelist(const QStringList& arg__1); - void setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setPort(QUrl* theWrappedObject, int port); - void setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setQuery(QUrl* theWrappedObject, const QUrlQuery& query); - void setScheme(QUrl* theWrappedObject, const QString& scheme); - void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode = QUrl::TolerantMode); - void setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode = QUrl::TolerantMode); - void swap(QUrl* theWrappedObject, QUrl& other); - QByteArray static_QUrl_toAce(const QString& arg__1); - QString toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; - QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FullyEncoded) const; - QString toLocalFile(QUrl* theWrappedObject) const; - QByteArray static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray()); - QString toString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; - QString topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - QString url(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; - QString userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - QString userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; - QString py_toString(QUrl*); -}; - - - - - -class PythonQtWrapper_Qt : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AlignmentFlag AnchorPoint ApplicationAttribute ArrowType AspectRatioMode Axis BGMode BrushStyle CaseSensitivity CheckState ClipOperation ConnectionType ContextMenuPolicy CoordinateSystem Corner CursorMoveStyle CursorShape DateFormat DayOfWeek DockWidgetArea DockWidgetAreaSizes DropAction EventPriority FillRule FindChildOption FocusPolicy FocusReason GestureFlag GestureState GestureType GlobalColor HitTestAccuracy ImageConversionFlag InputMethodHint InputMethodQuery ItemDataRole ItemFlag ItemSelectionMode Key KeyboardModifier LayoutDirection MaskMode MatchFlag MouseButton NavigationMode Orientation PenCapStyle PenJoinStyle PenStyle ScreenOrientation ScrollBarPolicy ShortcutContext SizeHint SizeMode SortOrder TextElideMode TextFlag TextFormat TextInteractionFlag TileRule TimeSpec TimerType ToolBarArea ToolBarAreaSizes ToolButtonStyle TouchPointState TransformationMode UIEffect WhiteSpaceMode WidgetAttribute WindowFrameSection WindowModality WindowState WindowType ) -Q_FLAGS(Alignment DockWidgetAreas DropActions FindChildOptions GestureFlags ImageConversionFlags InputMethodHints InputMethodQueries ItemFlags KeyboardModifiers MatchFlags MouseButtons Orientations ScreenOrientations TextInteractionFlags ToolBarAreas TouchPointStates WindowStates WindowFlags ) -enum AlignmentFlag{ - AlignLeft = Qt::AlignLeft, AlignLeading = Qt::AlignLeading, AlignRight = Qt::AlignRight, AlignTrailing = Qt::AlignTrailing, AlignHCenter = Qt::AlignHCenter, AlignJustify = Qt::AlignJustify, AlignAbsolute = Qt::AlignAbsolute, AlignHorizontal_Mask = Qt::AlignHorizontal_Mask, AlignTop = Qt::AlignTop, AlignBottom = Qt::AlignBottom, AlignVCenter = Qt::AlignVCenter, AlignVertical_Mask = Qt::AlignVertical_Mask, AlignCenter = Qt::AlignCenter}; -enum AnchorPoint{ - AnchorLeft = Qt::AnchorLeft, AnchorHorizontalCenter = Qt::AnchorHorizontalCenter, AnchorRight = Qt::AnchorRight, AnchorTop = Qt::AnchorTop, AnchorVerticalCenter = Qt::AnchorVerticalCenter, AnchorBottom = Qt::AnchorBottom}; -enum ApplicationAttribute{ - AA_ImmediateWidgetCreation = Qt::AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault = Qt::AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus = Qt::AA_DontShowIconsInMenus, AA_NativeWindows = Qt::AA_NativeWindows, AA_DontCreateNativeWidgetSiblings = Qt::AA_DontCreateNativeWidgetSiblings, AA_MacPluginApplication = Qt::AA_MacPluginApplication, AA_DontUseNativeMenuBar = Qt::AA_DontUseNativeMenuBar, AA_MacDontSwapCtrlAndMeta = Qt::AA_MacDontSwapCtrlAndMeta, AA_Use96Dpi = Qt::AA_Use96Dpi, AA_X11InitThreads = Qt::AA_X11InitThreads, AA_SynthesizeTouchForUnhandledMouseEvents = Qt::AA_SynthesizeTouchForUnhandledMouseEvents, AA_SynthesizeMouseForUnhandledTouchEvents = Qt::AA_SynthesizeMouseForUnhandledTouchEvents, AA_AttributeCount = Qt::AA_AttributeCount}; -enum ArrowType{ - NoArrow = Qt::NoArrow, UpArrow = Qt::UpArrow, DownArrow = Qt::DownArrow, LeftArrow = Qt::LeftArrow, RightArrow = Qt::RightArrow}; -enum AspectRatioMode{ - IgnoreAspectRatio = Qt::IgnoreAspectRatio, KeepAspectRatio = Qt::KeepAspectRatio, KeepAspectRatioByExpanding = Qt::KeepAspectRatioByExpanding}; -enum Axis{ - XAxis = Qt::XAxis, YAxis = Qt::YAxis, ZAxis = Qt::ZAxis}; -enum BGMode{ - TransparentMode = Qt::TransparentMode, OpaqueMode = Qt::OpaqueMode}; -enum BrushStyle{ - NoBrush = Qt::NoBrush, SolidPattern = Qt::SolidPattern, Dense1Pattern = Qt::Dense1Pattern, Dense2Pattern = Qt::Dense2Pattern, Dense3Pattern = Qt::Dense3Pattern, Dense4Pattern = Qt::Dense4Pattern, Dense5Pattern = Qt::Dense5Pattern, Dense6Pattern = Qt::Dense6Pattern, Dense7Pattern = Qt::Dense7Pattern, HorPattern = Qt::HorPattern, VerPattern = Qt::VerPattern, CrossPattern = Qt::CrossPattern, BDiagPattern = Qt::BDiagPattern, FDiagPattern = Qt::FDiagPattern, DiagCrossPattern = Qt::DiagCrossPattern, LinearGradientPattern = Qt::LinearGradientPattern, RadialGradientPattern = Qt::RadialGradientPattern, ConicalGradientPattern = Qt::ConicalGradientPattern, TexturePattern = Qt::TexturePattern}; -enum CaseSensitivity{ - CaseInsensitive = Qt::CaseInsensitive, CaseSensitive = Qt::CaseSensitive}; -enum CheckState{ - Unchecked = Qt::Unchecked, PartiallyChecked = Qt::PartiallyChecked, Checked = Qt::Checked}; -enum ClipOperation{ - NoClip = Qt::NoClip, ReplaceClip = Qt::ReplaceClip, IntersectClip = Qt::IntersectClip}; -enum ConnectionType{ - AutoConnection = Qt::AutoConnection, DirectConnection = Qt::DirectConnection, QueuedConnection = Qt::QueuedConnection, BlockingQueuedConnection = Qt::BlockingQueuedConnection, UniqueConnection = Qt::UniqueConnection}; -enum ContextMenuPolicy{ - NoContextMenu = Qt::NoContextMenu, DefaultContextMenu = Qt::DefaultContextMenu, ActionsContextMenu = Qt::ActionsContextMenu, CustomContextMenu = Qt::CustomContextMenu, PreventContextMenu = Qt::PreventContextMenu}; -enum CoordinateSystem{ - DeviceCoordinates = Qt::DeviceCoordinates, LogicalCoordinates = Qt::LogicalCoordinates}; -enum Corner{ - TopLeftCorner = Qt::TopLeftCorner, TopRightCorner = Qt::TopRightCorner, BottomLeftCorner = Qt::BottomLeftCorner, BottomRightCorner = Qt::BottomRightCorner}; -enum CursorMoveStyle{ - LogicalMoveStyle = Qt::LogicalMoveStyle, VisualMoveStyle = Qt::VisualMoveStyle}; -enum CursorShape{ - ArrowCursor = Qt::ArrowCursor, UpArrowCursor = Qt::UpArrowCursor, CrossCursor = Qt::CrossCursor, WaitCursor = Qt::WaitCursor, IBeamCursor = Qt::IBeamCursor, SizeVerCursor = Qt::SizeVerCursor, SizeHorCursor = Qt::SizeHorCursor, SizeBDiagCursor = Qt::SizeBDiagCursor, SizeFDiagCursor = Qt::SizeFDiagCursor, SizeAllCursor = Qt::SizeAllCursor, BlankCursor = Qt::BlankCursor, SplitVCursor = Qt::SplitVCursor, SplitHCursor = Qt::SplitHCursor, PointingHandCursor = Qt::PointingHandCursor, ForbiddenCursor = Qt::ForbiddenCursor, WhatsThisCursor = Qt::WhatsThisCursor, BusyCursor = Qt::BusyCursor, OpenHandCursor = Qt::OpenHandCursor, ClosedHandCursor = Qt::ClosedHandCursor, DragCopyCursor = Qt::DragCopyCursor, DragMoveCursor = Qt::DragMoveCursor, DragLinkCursor = Qt::DragLinkCursor, LastCursor = Qt::LastCursor, BitmapCursor = Qt::BitmapCursor, CustomCursor = Qt::CustomCursor}; -enum DateFormat{ - TextDate = Qt::TextDate, ISODate = Qt::ISODate, SystemLocaleDate = Qt::SystemLocaleDate, LocalDate = Qt::LocalDate, LocaleDate = Qt::LocaleDate, SystemLocaleShortDate = Qt::SystemLocaleShortDate, SystemLocaleLongDate = Qt::SystemLocaleLongDate, DefaultLocaleShortDate = Qt::DefaultLocaleShortDate, DefaultLocaleLongDate = Qt::DefaultLocaleLongDate}; -enum DayOfWeek{ - Monday = Qt::Monday, Tuesday = Qt::Tuesday, Wednesday = Qt::Wednesday, Thursday = Qt::Thursday, Friday = Qt::Friday, Saturday = Qt::Saturday, Sunday = Qt::Sunday}; -enum DockWidgetArea{ - LeftDockWidgetArea = Qt::LeftDockWidgetArea, RightDockWidgetArea = Qt::RightDockWidgetArea, TopDockWidgetArea = Qt::TopDockWidgetArea, BottomDockWidgetArea = Qt::BottomDockWidgetArea, DockWidgetArea_Mask = Qt::DockWidgetArea_Mask, AllDockWidgetAreas = Qt::AllDockWidgetAreas, NoDockWidgetArea = Qt::NoDockWidgetArea}; -enum DockWidgetAreaSizes{ - NDockWidgetAreas = Qt::NDockWidgetAreas}; -enum DropAction{ - CopyAction = Qt::CopyAction, MoveAction = Qt::MoveAction, LinkAction = Qt::LinkAction, ActionMask = Qt::ActionMask, TargetMoveAction = Qt::TargetMoveAction, IgnoreAction = Qt::IgnoreAction}; -enum EventPriority{ - HighEventPriority = Qt::HighEventPriority, NormalEventPriority = Qt::NormalEventPriority, LowEventPriority = Qt::LowEventPriority}; -enum FillRule{ - OddEvenFill = Qt::OddEvenFill, WindingFill = Qt::WindingFill}; -enum FindChildOption{ - FindDirectChildrenOnly = Qt::FindDirectChildrenOnly, FindChildrenRecursively = Qt::FindChildrenRecursively}; -enum FocusPolicy{ - NoFocus = Qt::NoFocus, TabFocus = Qt::TabFocus, ClickFocus = Qt::ClickFocus, StrongFocus = Qt::StrongFocus, WheelFocus = Qt::WheelFocus}; -enum FocusReason{ - MouseFocusReason = Qt::MouseFocusReason, TabFocusReason = Qt::TabFocusReason, BacktabFocusReason = Qt::BacktabFocusReason, ActiveWindowFocusReason = Qt::ActiveWindowFocusReason, PopupFocusReason = Qt::PopupFocusReason, ShortcutFocusReason = Qt::ShortcutFocusReason, MenuBarFocusReason = Qt::MenuBarFocusReason, OtherFocusReason = Qt::OtherFocusReason, NoFocusReason = Qt::NoFocusReason}; -enum GestureFlag{ - DontStartGestureOnChildren = Qt::DontStartGestureOnChildren, ReceivePartialGestures = Qt::ReceivePartialGestures, IgnoredGesturesPropagateToParent = Qt::IgnoredGesturesPropagateToParent}; -enum GestureState{ - NoGesture = Qt::NoGesture, GestureStarted = Qt::GestureStarted, GestureUpdated = Qt::GestureUpdated, GestureFinished = Qt::GestureFinished, GestureCanceled = Qt::GestureCanceled}; -enum GestureType{ - TapGesture = Qt::TapGesture, TapAndHoldGesture = Qt::TapAndHoldGesture, PanGesture = Qt::PanGesture, PinchGesture = Qt::PinchGesture, SwipeGesture = Qt::SwipeGesture, CustomGesture = Qt::CustomGesture, LastGestureType = Qt::LastGestureType}; -enum GlobalColor{ - color0 = Qt::color0, color1 = Qt::color1, black = Qt::black, white = Qt::white, darkGray = Qt::darkGray, gray = Qt::gray, lightGray = Qt::lightGray, red = Qt::red, green = Qt::green, blue = Qt::blue, cyan = Qt::cyan, magenta = Qt::magenta, yellow = Qt::yellow, darkRed = Qt::darkRed, darkGreen = Qt::darkGreen, darkBlue = Qt::darkBlue, darkCyan = Qt::darkCyan, darkMagenta = Qt::darkMagenta, darkYellow = Qt::darkYellow, transparent = Qt::transparent}; -enum HitTestAccuracy{ - ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; -enum ImageConversionFlag{ - ColorMode_Mask = Qt::ColorMode_Mask, AutoColor = Qt::AutoColor, ColorOnly = Qt::ColorOnly, MonoOnly = Qt::MonoOnly, AlphaDither_Mask = Qt::AlphaDither_Mask, ThresholdAlphaDither = Qt::ThresholdAlphaDither, OrderedAlphaDither = Qt::OrderedAlphaDither, DiffuseAlphaDither = Qt::DiffuseAlphaDither, NoAlpha = Qt::NoAlpha, Dither_Mask = Qt::Dither_Mask, DiffuseDither = Qt::DiffuseDither, OrderedDither = Qt::OrderedDither, ThresholdDither = Qt::ThresholdDither, DitherMode_Mask = Qt::DitherMode_Mask, AutoDither = Qt::AutoDither, PreferDither = Qt::PreferDither, AvoidDither = Qt::AvoidDither, NoOpaqueDetection = Qt::NoOpaqueDetection, NoFormatConversion = Qt::NoFormatConversion}; -enum InputMethodHint{ - ImhNone = Qt::ImhNone, ImhHiddenText = Qt::ImhHiddenText, ImhSensitiveData = Qt::ImhSensitiveData, ImhNoAutoUppercase = Qt::ImhNoAutoUppercase, ImhPreferNumbers = Qt::ImhPreferNumbers, ImhPreferUppercase = Qt::ImhPreferUppercase, ImhPreferLowercase = Qt::ImhPreferLowercase, ImhNoPredictiveText = Qt::ImhNoPredictiveText, ImhDate = Qt::ImhDate, ImhTime = Qt::ImhTime, ImhPreferLatin = Qt::ImhPreferLatin, ImhDigitsOnly = Qt::ImhDigitsOnly, ImhFormattedNumbersOnly = Qt::ImhFormattedNumbersOnly, ImhUppercaseOnly = Qt::ImhUppercaseOnly, ImhLowercaseOnly = Qt::ImhLowercaseOnly, ImhDialableCharactersOnly = Qt::ImhDialableCharactersOnly, ImhEmailCharactersOnly = Qt::ImhEmailCharactersOnly, ImhUrlCharactersOnly = Qt::ImhUrlCharactersOnly, ImhLatinOnly = Qt::ImhLatinOnly, ImhExclusiveInputMask = Qt::ImhExclusiveInputMask}; -enum InputMethodQuery{ - ImEnabled = Qt::ImEnabled, ImCursorRectangle = Qt::ImCursorRectangle, ImMicroFocus = Qt::ImMicroFocus, ImFont = Qt::ImFont, ImCursorPosition = Qt::ImCursorPosition, ImSurroundingText = Qt::ImSurroundingText, ImCurrentSelection = Qt::ImCurrentSelection, ImMaximumTextLength = Qt::ImMaximumTextLength, ImAnchorPosition = Qt::ImAnchorPosition, ImHints = Qt::ImHints, ImPreferredLanguage = Qt::ImPreferredLanguage, ImPlatformData = Qt::ImPlatformData, ImQueryInput = Qt::ImQueryInput, ImQueryAll = Qt::ImQueryAll}; -enum ItemDataRole{ - DisplayRole = Qt::DisplayRole, DecorationRole = Qt::DecorationRole, EditRole = Qt::EditRole, ToolTipRole = Qt::ToolTipRole, StatusTipRole = Qt::StatusTipRole, WhatsThisRole = Qt::WhatsThisRole, FontRole = Qt::FontRole, TextAlignmentRole = Qt::TextAlignmentRole, BackgroundColorRole = Qt::BackgroundColorRole, BackgroundRole = Qt::BackgroundRole, TextColorRole = Qt::TextColorRole, ForegroundRole = Qt::ForegroundRole, CheckStateRole = Qt::CheckStateRole, AccessibleTextRole = Qt::AccessibleTextRole, AccessibleDescriptionRole = Qt::AccessibleDescriptionRole, SizeHintRole = Qt::SizeHintRole, InitialSortOrderRole = Qt::InitialSortOrderRole, DisplayPropertyRole = Qt::DisplayPropertyRole, DecorationPropertyRole = Qt::DecorationPropertyRole, ToolTipPropertyRole = Qt::ToolTipPropertyRole, StatusTipPropertyRole = Qt::StatusTipPropertyRole, WhatsThisPropertyRole = Qt::WhatsThisPropertyRole, UserRole = Qt::UserRole}; -enum ItemFlag{ - NoItemFlags = Qt::NoItemFlags, ItemIsSelectable = Qt::ItemIsSelectable, ItemIsEditable = Qt::ItemIsEditable, ItemIsDragEnabled = Qt::ItemIsDragEnabled, ItemIsDropEnabled = Qt::ItemIsDropEnabled, ItemIsUserCheckable = Qt::ItemIsUserCheckable, ItemIsEnabled = Qt::ItemIsEnabled, ItemIsTristate = Qt::ItemIsTristate}; -enum ItemSelectionMode{ - ContainsItemShape = Qt::ContainsItemShape, IntersectsItemShape = Qt::IntersectsItemShape, ContainsItemBoundingRect = Qt::ContainsItemBoundingRect, IntersectsItemBoundingRect = Qt::IntersectsItemBoundingRect}; -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_MediaPause = Qt::Key_MediaPause, Key_MediaTogglePlayPause = Qt::Key_MediaTogglePlayPause, Key_HomePage = Qt::Key_HomePage, Key_Favorites = Qt::Key_Favorites, Key_Search = Qt::Key_Search, Key_Standby = Qt::Key_Standby, Key_OpenUrl = Qt::Key_OpenUrl, Key_LaunchMail = Qt::Key_LaunchMail, Key_LaunchMedia = Qt::Key_LaunchMedia, Key_Launch0 = Qt::Key_Launch0, Key_Launch1 = Qt::Key_Launch1, Key_Launch2 = Qt::Key_Launch2, Key_Launch3 = Qt::Key_Launch3, Key_Launch4 = Qt::Key_Launch4, Key_Launch5 = Qt::Key_Launch5, Key_Launch6 = Qt::Key_Launch6, Key_Launch7 = Qt::Key_Launch7, Key_Launch8 = Qt::Key_Launch8, Key_Launch9 = Qt::Key_Launch9, Key_LaunchA = Qt::Key_LaunchA, Key_LaunchB = Qt::Key_LaunchB, Key_LaunchC = Qt::Key_LaunchC, Key_LaunchD = Qt::Key_LaunchD, Key_LaunchE = Qt::Key_LaunchE, Key_LaunchF = Qt::Key_LaunchF, Key_MonBrightnessUp = Qt::Key_MonBrightnessUp, Key_MonBrightnessDown = Qt::Key_MonBrightnessDown, Key_KeyboardLightOnOff = Qt::Key_KeyboardLightOnOff, Key_KeyboardBrightnessUp = Qt::Key_KeyboardBrightnessUp, Key_KeyboardBrightnessDown = Qt::Key_KeyboardBrightnessDown, Key_PowerOff = Qt::Key_PowerOff, Key_WakeUp = Qt::Key_WakeUp, Key_Eject = Qt::Key_Eject, Key_ScreenSaver = Qt::Key_ScreenSaver, Key_WWW = Qt::Key_WWW, Key_Memo = Qt::Key_Memo, Key_LightBulb = Qt::Key_LightBulb, Key_Shop = Qt::Key_Shop, Key_History = Qt::Key_History, Key_AddFavorite = Qt::Key_AddFavorite, Key_HotLinks = Qt::Key_HotLinks, Key_BrightnessAdjust = Qt::Key_BrightnessAdjust, Key_Finance = Qt::Key_Finance, Key_Community = Qt::Key_Community, Key_AudioRewind = Qt::Key_AudioRewind, Key_BackForward = Qt::Key_BackForward, Key_ApplicationLeft = Qt::Key_ApplicationLeft, Key_ApplicationRight = Qt::Key_ApplicationRight, Key_Book = Qt::Key_Book, Key_CD = Qt::Key_CD, Key_Calculator = Qt::Key_Calculator, Key_ToDoList = Qt::Key_ToDoList, Key_ClearGrab = Qt::Key_ClearGrab, Key_Close = Qt::Key_Close, Key_Copy = Qt::Key_Copy, Key_Cut = Qt::Key_Cut, Key_Display = Qt::Key_Display, Key_DOS = Qt::Key_DOS, Key_Documents = Qt::Key_Documents, Key_Excel = Qt::Key_Excel, Key_Explorer = Qt::Key_Explorer, Key_Game = Qt::Key_Game, Key_Go = Qt::Key_Go, Key_iTouch = Qt::Key_iTouch, Key_LogOff = Qt::Key_LogOff, Key_Market = Qt::Key_Market, Key_Meeting = Qt::Key_Meeting, Key_MenuKB = Qt::Key_MenuKB, Key_MenuPB = Qt::Key_MenuPB, Key_MySites = Qt::Key_MySites, Key_News = Qt::Key_News, Key_OfficeHome = Qt::Key_OfficeHome, Key_Option = Qt::Key_Option, Key_Paste = Qt::Key_Paste, Key_Phone = Qt::Key_Phone, Key_Calendar = Qt::Key_Calendar, Key_Reply = Qt::Key_Reply, Key_Reload = Qt::Key_Reload, Key_RotateWindows = Qt::Key_RotateWindows, Key_RotationPB = Qt::Key_RotationPB, Key_RotationKB = Qt::Key_RotationKB, Key_Save = Qt::Key_Save, Key_Send = Qt::Key_Send, Key_Spell = Qt::Key_Spell, Key_SplitScreen = Qt::Key_SplitScreen, Key_Support = Qt::Key_Support, Key_TaskPane = Qt::Key_TaskPane, Key_Terminal = Qt::Key_Terminal, Key_Tools = Qt::Key_Tools, Key_Travel = Qt::Key_Travel, Key_Video = Qt::Key_Video, Key_Word = Qt::Key_Word, Key_Xfer = Qt::Key_Xfer, Key_ZoomIn = Qt::Key_ZoomIn, Key_ZoomOut = Qt::Key_ZoomOut, Key_Away = Qt::Key_Away, Key_Messenger = Qt::Key_Messenger, Key_WebCam = Qt::Key_WebCam, Key_MailForward = Qt::Key_MailForward, Key_Pictures = Qt::Key_Pictures, Key_Music = Qt::Key_Music, Key_Battery = Qt::Key_Battery, Key_Bluetooth = Qt::Key_Bluetooth, Key_WLAN = Qt::Key_WLAN, Key_UWB = Qt::Key_UWB, Key_AudioForward = Qt::Key_AudioForward, Key_AudioRepeat = Qt::Key_AudioRepeat, Key_AudioRandomPlay = Qt::Key_AudioRandomPlay, Key_Subtitle = Qt::Key_Subtitle, Key_AudioCycleTrack = Qt::Key_AudioCycleTrack, Key_Time = Qt::Key_Time, Key_Hibernate = Qt::Key_Hibernate, Key_View = Qt::Key_View, Key_TopMenu = Qt::Key_TopMenu, Key_PowerDown = Qt::Key_PowerDown, Key_Suspend = Qt::Key_Suspend, Key_ContrastAdjust = Qt::Key_ContrastAdjust, Key_LaunchG = Qt::Key_LaunchG, Key_LaunchH = Qt::Key_LaunchH, Key_TouchpadToggle = Qt::Key_TouchpadToggle, Key_TouchpadOn = Qt::Key_TouchpadOn, Key_TouchpadOff = Qt::Key_TouchpadOff, Key_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_ToggleCallHangup = Qt::Key_ToggleCallHangup, Key_VoiceDial = Qt::Key_VoiceDial, Key_LastNumberRedial = Qt::Key_LastNumberRedial, Key_Camera = Qt::Key_Camera, Key_CameraFocus = Qt::Key_CameraFocus, Key_unknown = Qt::Key_unknown}; -enum KeyboardModifier{ - NoModifier = Qt::NoModifier, ShiftModifier = Qt::ShiftModifier, ControlModifier = Qt::ControlModifier, AltModifier = Qt::AltModifier, MetaModifier = Qt::MetaModifier, KeypadModifier = Qt::KeypadModifier, GroupSwitchModifier = Qt::GroupSwitchModifier, KeyboardModifierMask = Qt::KeyboardModifierMask}; -enum LayoutDirection{ - LeftToRight = Qt::LeftToRight, RightToLeft = Qt::RightToLeft, LayoutDirectionAuto = Qt::LayoutDirectionAuto}; -enum MaskMode{ - MaskInColor = Qt::MaskInColor, MaskOutColor = Qt::MaskOutColor}; -enum MatchFlag{ - MatchExactly = Qt::MatchExactly, MatchContains = Qt::MatchContains, MatchStartsWith = Qt::MatchStartsWith, MatchEndsWith = Qt::MatchEndsWith, MatchRegExp = Qt::MatchRegExp, MatchWildcard = Qt::MatchWildcard, MatchFixedString = Qt::MatchFixedString, MatchCaseSensitive = Qt::MatchCaseSensitive, MatchWrap = Qt::MatchWrap, MatchRecursive = Qt::MatchRecursive}; -enum MouseButton{ - NoButton = Qt::NoButton, LeftButton = Qt::LeftButton, RightButton = Qt::RightButton, MidButton = Qt::MidButton, MiddleButton = Qt::MiddleButton, BackButton = Qt::BackButton, XButton1 = Qt::XButton1, ExtraButton1 = Qt::ExtraButton1, ForwardButton = Qt::ForwardButton, XButton2 = Qt::XButton2, ExtraButton2 = Qt::ExtraButton2, TaskButton = Qt::TaskButton, ExtraButton3 = Qt::ExtraButton3, ExtraButton4 = Qt::ExtraButton4, ExtraButton5 = Qt::ExtraButton5, ExtraButton6 = Qt::ExtraButton6, ExtraButton7 = Qt::ExtraButton7, ExtraButton8 = Qt::ExtraButton8, ExtraButton9 = Qt::ExtraButton9, ExtraButton10 = Qt::ExtraButton10, ExtraButton11 = Qt::ExtraButton11, ExtraButton12 = Qt::ExtraButton12, ExtraButton13 = Qt::ExtraButton13, ExtraButton14 = Qt::ExtraButton14, ExtraButton15 = Qt::ExtraButton15, ExtraButton16 = Qt::ExtraButton16, ExtraButton17 = Qt::ExtraButton17, ExtraButton18 = Qt::ExtraButton18, ExtraButton19 = Qt::ExtraButton19, ExtraButton20 = Qt::ExtraButton20, ExtraButton21 = Qt::ExtraButton21, ExtraButton22 = Qt::ExtraButton22, ExtraButton23 = Qt::ExtraButton23, ExtraButton24 = Qt::ExtraButton24, AllButtons = Qt::AllButtons, MaxMouseButton = Qt::MaxMouseButton, MouseButtonMask = Qt::MouseButtonMask}; -enum NavigationMode{ - NavigationModeNone = Qt::NavigationModeNone, NavigationModeKeypadTabOrder = Qt::NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional = Qt::NavigationModeKeypadDirectional, NavigationModeCursorAuto = Qt::NavigationModeCursorAuto, NavigationModeCursorForceVisible = Qt::NavigationModeCursorForceVisible}; -enum Orientation{ - Horizontal = Qt::Horizontal, Vertical = Qt::Vertical}; -enum PenCapStyle{ - FlatCap = Qt::FlatCap, SquareCap = Qt::SquareCap, RoundCap = Qt::RoundCap, MPenCapStyle = Qt::MPenCapStyle}; -enum PenJoinStyle{ - MiterJoin = Qt::MiterJoin, BevelJoin = Qt::BevelJoin, RoundJoin = Qt::RoundJoin, SvgMiterJoin = Qt::SvgMiterJoin, MPenJoinStyle = Qt::MPenJoinStyle}; -enum PenStyle{ - NoPen = Qt::NoPen, SolidLine = Qt::SolidLine, DashLine = Qt::DashLine, DotLine = Qt::DotLine, DashDotLine = Qt::DashDotLine, DashDotDotLine = Qt::DashDotDotLine, CustomDashLine = Qt::CustomDashLine, MPenStyle = Qt::MPenStyle}; -enum ScreenOrientation{ - PrimaryOrientation = Qt::PrimaryOrientation, PortraitOrientation = Qt::PortraitOrientation, LandscapeOrientation = Qt::LandscapeOrientation, InvertedPortraitOrientation = Qt::InvertedPortraitOrientation, InvertedLandscapeOrientation = Qt::InvertedLandscapeOrientation}; -enum ScrollBarPolicy{ - ScrollBarAsNeeded = Qt::ScrollBarAsNeeded, ScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff, ScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn}; -enum ShortcutContext{ - WidgetShortcut = Qt::WidgetShortcut, WindowShortcut = Qt::WindowShortcut, ApplicationShortcut = Qt::ApplicationShortcut, WidgetWithChildrenShortcut = Qt::WidgetWithChildrenShortcut}; -enum SizeHint{ - MinimumSize = Qt::MinimumSize, PreferredSize = Qt::PreferredSize, MaximumSize = Qt::MaximumSize, MinimumDescent = Qt::MinimumDescent, NSizeHints = Qt::NSizeHints}; -enum SizeMode{ - AbsoluteSize = Qt::AbsoluteSize, RelativeSize = Qt::RelativeSize}; -enum SortOrder{ - AscendingOrder = Qt::AscendingOrder, DescendingOrder = Qt::DescendingOrder}; -enum TextElideMode{ - ElideLeft = Qt::ElideLeft, ElideRight = Qt::ElideRight, ElideMiddle = Qt::ElideMiddle, ElideNone = Qt::ElideNone}; -enum TextFlag{ - TextSingleLine = Qt::TextSingleLine, TextDontClip = Qt::TextDontClip, TextExpandTabs = Qt::TextExpandTabs, TextShowMnemonic = Qt::TextShowMnemonic, TextWordWrap = Qt::TextWordWrap, TextWrapAnywhere = Qt::TextWrapAnywhere, TextDontPrint = Qt::TextDontPrint, TextIncludeTrailingSpaces = Qt::TextIncludeTrailingSpaces, TextHideMnemonic = Qt::TextHideMnemonic, TextJustificationForced = Qt::TextJustificationForced, TextForceLeftToRight = Qt::TextForceLeftToRight, TextForceRightToLeft = Qt::TextForceRightToLeft, TextLongestVariant = Qt::TextLongestVariant, TextBypassShaping = Qt::TextBypassShaping}; -enum TextFormat{ - PlainText = Qt::PlainText, RichText = Qt::RichText, AutoText = Qt::AutoText}; -enum TextInteractionFlag{ - NoTextInteraction = Qt::NoTextInteraction, TextSelectableByMouse = Qt::TextSelectableByMouse, TextSelectableByKeyboard = Qt::TextSelectableByKeyboard, LinksAccessibleByMouse = Qt::LinksAccessibleByMouse, LinksAccessibleByKeyboard = Qt::LinksAccessibleByKeyboard, TextEditable = Qt::TextEditable, TextEditorInteraction = Qt::TextEditorInteraction, TextBrowserInteraction = Qt::TextBrowserInteraction}; -enum TileRule{ - StretchTile = Qt::StretchTile, RepeatTile = Qt::RepeatTile, RoundTile = Qt::RoundTile}; -enum TimeSpec{ - LocalTime = Qt::LocalTime, UTC = Qt::UTC, OffsetFromUTC = Qt::OffsetFromUTC}; -enum TimerType{ - PreciseTimer = Qt::PreciseTimer, CoarseTimer = Qt::CoarseTimer, VeryCoarseTimer = Qt::VeryCoarseTimer}; -enum ToolBarArea{ - LeftToolBarArea = Qt::LeftToolBarArea, RightToolBarArea = Qt::RightToolBarArea, TopToolBarArea = Qt::TopToolBarArea, BottomToolBarArea = Qt::BottomToolBarArea, ToolBarArea_Mask = Qt::ToolBarArea_Mask, AllToolBarAreas = Qt::AllToolBarAreas, NoToolBarArea = Qt::NoToolBarArea}; -enum ToolBarAreaSizes{ - NToolBarAreas = Qt::NToolBarAreas}; -enum ToolButtonStyle{ - ToolButtonIconOnly = Qt::ToolButtonIconOnly, ToolButtonTextOnly = Qt::ToolButtonTextOnly, ToolButtonTextBesideIcon = Qt::ToolButtonTextBesideIcon, ToolButtonTextUnderIcon = Qt::ToolButtonTextUnderIcon, ToolButtonFollowStyle = Qt::ToolButtonFollowStyle}; -enum TouchPointState{ - TouchPointPressed = Qt::TouchPointPressed, TouchPointMoved = Qt::TouchPointMoved, TouchPointStationary = Qt::TouchPointStationary, TouchPointReleased = Qt::TouchPointReleased}; -enum TransformationMode{ - FastTransformation = Qt::FastTransformation, SmoothTransformation = Qt::SmoothTransformation}; -enum UIEffect{ - UI_General = Qt::UI_General, UI_AnimateMenu = Qt::UI_AnimateMenu, UI_FadeMenu = Qt::UI_FadeMenu, UI_AnimateCombo = Qt::UI_AnimateCombo, UI_AnimateTooltip = Qt::UI_AnimateTooltip, UI_FadeTooltip = Qt::UI_FadeTooltip, UI_AnimateToolBox = Qt::UI_AnimateToolBox}; -enum WhiteSpaceMode{ - WhiteSpaceNormal = Qt::WhiteSpaceNormal, WhiteSpacePre = Qt::WhiteSpacePre, WhiteSpaceNoWrap = Qt::WhiteSpaceNoWrap, WhiteSpaceModeUndefined = Qt::WhiteSpaceModeUndefined}; -enum WidgetAttribute{ - WA_Disabled = Qt::WA_Disabled, WA_UnderMouse = Qt::WA_UnderMouse, WA_MouseTracking = Qt::WA_MouseTracking, WA_ContentsPropagated = Qt::WA_ContentsPropagated, WA_OpaquePaintEvent = Qt::WA_OpaquePaintEvent, WA_NoBackground = Qt::WA_NoBackground, WA_StaticContents = Qt::WA_StaticContents, WA_LaidOut = Qt::WA_LaidOut, WA_PaintOnScreen = Qt::WA_PaintOnScreen, WA_NoSystemBackground = Qt::WA_NoSystemBackground, WA_UpdatesDisabled = Qt::WA_UpdatesDisabled, WA_Mapped = Qt::WA_Mapped, WA_MacNoClickThrough = Qt::WA_MacNoClickThrough, WA_InputMethodEnabled = Qt::WA_InputMethodEnabled, WA_WState_Visible = Qt::WA_WState_Visible, WA_WState_Hidden = Qt::WA_WState_Hidden, WA_ForceDisabled = Qt::WA_ForceDisabled, WA_KeyCompression = Qt::WA_KeyCompression, WA_PendingMoveEvent = Qt::WA_PendingMoveEvent, WA_PendingResizeEvent = Qt::WA_PendingResizeEvent, WA_SetPalette = Qt::WA_SetPalette, WA_SetFont = Qt::WA_SetFont, WA_SetCursor = Qt::WA_SetCursor, WA_NoChildEventsFromChildren = Qt::WA_NoChildEventsFromChildren, WA_WindowModified = Qt::WA_WindowModified, WA_Resized = Qt::WA_Resized, WA_Moved = Qt::WA_Moved, WA_PendingUpdate = Qt::WA_PendingUpdate, WA_InvalidSize = Qt::WA_InvalidSize, WA_MacBrushedMetal = Qt::WA_MacBrushedMetal, WA_MacMetalStyle = Qt::WA_MacMetalStyle, WA_CustomWhatsThis = Qt::WA_CustomWhatsThis, WA_LayoutOnEntireRect = Qt::WA_LayoutOnEntireRect, WA_OutsideWSRange = Qt::WA_OutsideWSRange, WA_GrabbedShortcut = Qt::WA_GrabbedShortcut, WA_TransparentForMouseEvents = Qt::WA_TransparentForMouseEvents, WA_PaintUnclipped = Qt::WA_PaintUnclipped, WA_SetWindowIcon = Qt::WA_SetWindowIcon, WA_NoMouseReplay = Qt::WA_NoMouseReplay, WA_DeleteOnClose = Qt::WA_DeleteOnClose, WA_RightToLeft = Qt::WA_RightToLeft, WA_SetLayoutDirection = Qt::WA_SetLayoutDirection, WA_NoChildEventsForParent = Qt::WA_NoChildEventsForParent, WA_ForceUpdatesDisabled = Qt::WA_ForceUpdatesDisabled, WA_WState_Created = Qt::WA_WState_Created, WA_WState_CompressKeys = Qt::WA_WState_CompressKeys, WA_WState_InPaintEvent = Qt::WA_WState_InPaintEvent, WA_WState_Reparented = Qt::WA_WState_Reparented, WA_WState_ConfigPending = Qt::WA_WState_ConfigPending, WA_WState_Polished = Qt::WA_WState_Polished, WA_WState_DND = Qt::WA_WState_DND, WA_WState_OwnSizePolicy = Qt::WA_WState_OwnSizePolicy, WA_WState_ExplicitShowHide = Qt::WA_WState_ExplicitShowHide, WA_ShowModal = Qt::WA_ShowModal, WA_MouseNoMask = Qt::WA_MouseNoMask, WA_GroupLeader = Qt::WA_GroupLeader, WA_NoMousePropagation = Qt::WA_NoMousePropagation, WA_Hover = Qt::WA_Hover, WA_InputMethodTransparent = Qt::WA_InputMethodTransparent, WA_QuitOnClose = Qt::WA_QuitOnClose, WA_KeyboardFocusChange = Qt::WA_KeyboardFocusChange, WA_AcceptDrops = Qt::WA_AcceptDrops, WA_DropSiteRegistered = Qt::WA_DropSiteRegistered, WA_ForceAcceptDrops = Qt::WA_ForceAcceptDrops, WA_WindowPropagation = Qt::WA_WindowPropagation, WA_NoX11EventCompression = Qt::WA_NoX11EventCompression, WA_TintedBackground = Qt::WA_TintedBackground, WA_X11OpenGLOverlay = Qt::WA_X11OpenGLOverlay, WA_AlwaysShowToolTips = Qt::WA_AlwaysShowToolTips, WA_MacOpaqueSizeGrip = Qt::WA_MacOpaqueSizeGrip, WA_SetStyle = Qt::WA_SetStyle, WA_SetLocale = Qt::WA_SetLocale, WA_MacShowFocusRect = Qt::WA_MacShowFocusRect, WA_MacNormalSize = Qt::WA_MacNormalSize, WA_MacSmallSize = Qt::WA_MacSmallSize, WA_MacMiniSize = Qt::WA_MacMiniSize, WA_LayoutUsesWidgetRect = Qt::WA_LayoutUsesWidgetRect, WA_StyledBackground = Qt::WA_StyledBackground, WA_MSWindowsUseDirect3D = Qt::WA_MSWindowsUseDirect3D, WA_CanHostQMdiSubWindowTitleBar = Qt::WA_CanHostQMdiSubWindowTitleBar, WA_MacAlwaysShowToolWindow = Qt::WA_MacAlwaysShowToolWindow, WA_StyleSheet = Qt::WA_StyleSheet, WA_ShowWithoutActivating = Qt::WA_ShowWithoutActivating, WA_X11BypassTransientForHint = Qt::WA_X11BypassTransientForHint, WA_NativeWindow = Qt::WA_NativeWindow, WA_DontCreateNativeAncestors = Qt::WA_DontCreateNativeAncestors, WA_MacVariableSize = Qt::WA_MacVariableSize, WA_DontShowOnScreen = Qt::WA_DontShowOnScreen, WA_X11NetWmWindowTypeDesktop = Qt::WA_X11NetWmWindowTypeDesktop, WA_X11NetWmWindowTypeDock = Qt::WA_X11NetWmWindowTypeDock, WA_X11NetWmWindowTypeToolBar = Qt::WA_X11NetWmWindowTypeToolBar, WA_X11NetWmWindowTypeMenu = Qt::WA_X11NetWmWindowTypeMenu, WA_X11NetWmWindowTypeUtility = Qt::WA_X11NetWmWindowTypeUtility, WA_X11NetWmWindowTypeSplash = Qt::WA_X11NetWmWindowTypeSplash, WA_X11NetWmWindowTypeDialog = Qt::WA_X11NetWmWindowTypeDialog, WA_X11NetWmWindowTypeDropDownMenu = Qt::WA_X11NetWmWindowTypeDropDownMenu, WA_X11NetWmWindowTypePopupMenu = Qt::WA_X11NetWmWindowTypePopupMenu, WA_X11NetWmWindowTypeToolTip = Qt::WA_X11NetWmWindowTypeToolTip, WA_X11NetWmWindowTypeNotification = Qt::WA_X11NetWmWindowTypeNotification, WA_X11NetWmWindowTypeCombo = Qt::WA_X11NetWmWindowTypeCombo, WA_X11NetWmWindowTypeDND = Qt::WA_X11NetWmWindowTypeDND, WA_MacFrameworkScaled = Qt::WA_MacFrameworkScaled, WA_SetWindowModality = Qt::WA_SetWindowModality, WA_WState_WindowOpacitySet = Qt::WA_WState_WindowOpacitySet, WA_TranslucentBackground = Qt::WA_TranslucentBackground, WA_AcceptTouchEvents = Qt::WA_AcceptTouchEvents, WA_WState_AcceptedTouchBeginEvent = Qt::WA_WState_AcceptedTouchBeginEvent, WA_TouchPadAcceptSingleTouchEvents = Qt::WA_TouchPadAcceptSingleTouchEvents, WA_X11DoNotAcceptFocus = Qt::WA_X11DoNotAcceptFocus, WA_MacNoShadow = Qt::WA_MacNoShadow, WA_AttributeCount = Qt::WA_AttributeCount}; -enum WindowFrameSection{ - NoSection = Qt::NoSection, LeftSection = Qt::LeftSection, TopLeftSection = Qt::TopLeftSection, TopSection = Qt::TopSection, TopRightSection = Qt::TopRightSection, RightSection = Qt::RightSection, BottomRightSection = Qt::BottomRightSection, BottomSection = Qt::BottomSection, BottomLeftSection = Qt::BottomLeftSection, TitleBarArea = Qt::TitleBarArea}; -enum WindowModality{ - NonModal = Qt::NonModal, WindowModal = Qt::WindowModal, ApplicationModal = Qt::ApplicationModal}; -enum WindowState{ - WindowNoState = Qt::WindowNoState, WindowMinimized = Qt::WindowMinimized, WindowMaximized = Qt::WindowMaximized, WindowFullScreen = Qt::WindowFullScreen, WindowActive = Qt::WindowActive}; -enum WindowType{ - Widget = Qt::Widget, Window = Qt::Window, Dialog = Qt::Dialog, Sheet = Qt::Sheet, Drawer = Qt::Drawer, Popup = Qt::Popup, Tool = Qt::Tool, ToolTip = Qt::ToolTip, SplashScreen = Qt::SplashScreen, Desktop = Qt::Desktop, SubWindow = Qt::SubWindow, 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, WindowTransparentForInput = Qt::WindowTransparentForInput, WindowOverridesSystemGestures = Qt::WindowOverridesSystemGestures, WindowDoesNotAcceptFocus = Qt::WindowDoesNotAcceptFocus, CustomizeWindowHint = Qt::CustomizeWindowHint, WindowStaysOnBottomHint = Qt::WindowStaysOnBottomHint, WindowCloseButtonHint = Qt::WindowCloseButtonHint, MacWindowToolBarButtonHint = Qt::MacWindowToolBarButtonHint, BypassGraphicsProxyWidget = Qt::BypassGraphicsProxyWidget, WindowOkButtonHint = Qt::WindowOkButtonHint, WindowCancelButtonHint = Qt::WindowCancelButtonHint, NoDropShadowWindowHint = Qt::NoDropShadowWindowHint, WindowFullscreenButtonHint = Qt::WindowFullscreenButtonHint}; -Q_DECLARE_FLAGS(Alignment, AlignmentFlag) -Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea) -Q_DECLARE_FLAGS(DropActions, DropAction) -Q_DECLARE_FLAGS(FindChildOptions, FindChildOption) -Q_DECLARE_FLAGS(GestureFlags, GestureFlag) -Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag) -Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint) -Q_DECLARE_FLAGS(InputMethodQueries, InputMethodQuery) -Q_DECLARE_FLAGS(ItemFlags, ItemFlag) -Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) -Q_DECLARE_FLAGS(MatchFlags, MatchFlag) -Q_DECLARE_FLAGS(MouseButtons, MouseButton) -Q_DECLARE_FLAGS(Orientations, Orientation) -Q_DECLARE_FLAGS(ScreenOrientations, ScreenOrientation) -Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag) -Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea) -Q_DECLARE_FLAGS(TouchPointStates, TouchPointState) -Q_DECLARE_FLAGS(WindowStates, WindowState) -Q_DECLARE_FLAGS(WindowFlags, WindowType) -public slots: - QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); - QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); - bool static_Qt_mightBeRichText(const QString& arg__1); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp deleted file mode 100644 index 428330c00..000000000 --- a/generated_cpp_50/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include -#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_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceXor|PythonQt::Type_Invert|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Xor); -PythonQt::priv()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -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_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_And|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("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); - - -PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); -PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); -} diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui.pri deleted file mode 100644 index 9fe6dc2e7..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui.pri +++ /dev/null @@ -1,28 +0,0 @@ -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 \ - $$PWD/com_trolltech_qt_gui11.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_gui11.cpp \ - $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp deleted file mode 100644 index 6bc71975f..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ /dev/null @@ -1,23300 +0,0 @@ -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QAbstractButton::~PythonQtShell_QAbstractButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::actionEvent(arg__1); -} -void PythonQtShell_QAbstractButton::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::changeEvent(e0); -} -void PythonQtShell_QAbstractButton::checkStateSet() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::checkStateSet(); -} -void PythonQtShell_QAbstractButton::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::childEvent(arg__1); -} -void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::closeEvent(arg__1); -} -void PythonQtShell_QAbstractButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractButton::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::customEvent(arg__1); -} -int PythonQtShell_QAbstractButton::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::devType(); -} -void PythonQtShell_QAbstractButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::dropEvent(arg__1); -} -void PythonQtShell_QAbstractButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractButton::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::event(e0); -} -bool PythonQtShell_QAbstractButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::focusInEvent(e0); -} -bool PythonQtShell_QAbstractButton::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractButton::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::focusOutEvent(e0); -} -bool PythonQtShell_QAbstractButton::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::hasHeightForWidth(); -} -int PythonQtShell_QAbstractButton::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::hideEvent(arg__1); -} -bool PythonQtShell_QAbstractButton::hitButton(const QPoint& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::hitButton(pos0); -} -void PythonQtShell_QAbstractButton::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::initPainter(painter0); -} -void PythonQtShell_QAbstractButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractButton::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::keyPressEvent(e0); -} -void PythonQtShell_QAbstractButton::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::keyReleaseEvent(e0); -} -void PythonQtShell_QAbstractButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::metric(arg__1); -} -QSize PythonQtShell_QAbstractButton::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::minimumSizeHint(); -} -void PythonQtShell_QAbstractButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractButton::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::mouseMoveEvent(e0); -} -void PythonQtShell_QAbstractButton::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::mousePressEvent(e0); -} -void PythonQtShell_QAbstractButton::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::mouseReleaseEvent(e0); -} -void PythonQtShell_QAbstractButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QAbstractButton::nextCheckState() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QAbstractButton::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::paintEngine(); -} -void PythonQtShell_QAbstractButton::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QPaintDevice* PythonQtShell_QAbstractButton::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::redirected(offset0); -} -void PythonQtShell_QAbstractButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QAbstractButton::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::sharedPainter(); -} -void PythonQtShell_QAbstractButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::showEvent(arg__1); -} -QSize PythonQtShell_QAbstractButton::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractButton::sizeHint(); -} -void PythonQtShell_QAbstractButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractButton::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractButton::timerEvent(e0); -} -void PythonQtShell_QAbstractButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::paintEvent(QAbstractButton* theWrappedObject, QPaintEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_paintEvent(e)); -} - -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)); -} - - - -PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractGraphicsShapeItem::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::advance(phase0); -} -QRectF PythonQtShell_QAbstractGraphicsShapeItem::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRectF(); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::contains(point0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::contextMenuEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::dragEnterEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::dragLeaveEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::dragMoveEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::dropEvent(event0); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::extension(variant0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::focusInEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::focusOutEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::hoverEnterEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::hoverLeaveEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::hoverMoveEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::inputMethodEvent(event0); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::inputMethodQuery(query0); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::itemChange(change0, value1); -} -void PythonQtShell_QAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::keyPressEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::keyReleaseEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::mouseMoveEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::mousePressEvent(event0); -} -void PythonQtShell_QAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::opaqueArea(); -} -void PythonQtShell_QAbstractGraphicsShapeItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::sceneEvent(event0); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QAbstractGraphicsShapeItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QAbstractGraphicsShapeItem::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::shape(); -} -bool PythonQtShell_QAbstractGraphicsShapeItem::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::supportsExtension(extension0); -} -int PythonQtShell_QAbstractGraphicsShapeItem::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractGraphicsShapeItem::type(); -} -void PythonQtShell_QAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractGraphicsShapeItem::wheelEvent(event0); -} -QAbstractGraphicsShapeItem* PythonQtWrapper_QAbstractGraphicsShapeItem::new_QAbstractGraphicsShapeItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QAbstractGraphicsShapeItem(parent); } - -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)); -} - - - -PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::childEvent(arg__1); -} -QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::createEditor(parent0, option1, index2); -} -void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::customEvent(arg__1); -} -void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("destroyEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::destroyEditor(editor0, index1); -} -bool PythonQtShell_QAbstractItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::editorEvent(event0, model1, option2, index3); -} -bool PythonQtShell_QAbstractItemDelegate::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::event(arg__1); -} -bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::helpEvent(event0, view1, option2, index3); -} -void PythonQtShell_QAbstractItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QVector PythonQtShell_QAbstractItemDelegate::paintingRoles() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintingRoles"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVector"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemDelegate::paintingRoles(); -} -void PythonQtShell_QAbstractItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::setEditorData(editor0, index1); -} -void PythonQtShell_QAbstractItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModelData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::setModelData(editor0, model1, index2); -} -QSize PythonQtShell_QAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSize(); -} -void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::timerEvent(arg__1); -} -void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemDelegate::updateEditorGeometry(editor0, option1, index2); -} -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)); -} - -void PythonQtWrapper_QAbstractItemDelegate::destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_destroyEditor(editor, 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)); -} - -bool PythonQtWrapper_QAbstractItemDelegate::helpEvent(QAbstractItemDelegate* theWrappedObject, QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_helpEvent(event, view, option, index)); -} - -void PythonQtWrapper_QAbstractItemDelegate::paint(QAbstractItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_paint(painter, option, index)); -} - -QVector PythonQtWrapper_QAbstractItemDelegate::paintingRoles(QAbstractItemDelegate* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_paintingRoles()); -} - -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)); -} - -QSize PythonQtWrapper_QAbstractItemDelegate::sizeHint(QAbstractItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); -} - -void PythonQtWrapper_QAbstractItemDelegate::updateEditorGeometry(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); -} - - - -PythonQtShell_QAbstractItemView::~PythonQtShell_QAbstractItemView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractItemView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::actionEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::changeEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::childEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::closeEditor(editor0, hint1); -} -void PythonQtShell_QAbstractItemView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::closeEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::commitData(editor0); -} -void PythonQtShell_QAbstractItemView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::currentChanged(current0, previous1); -} -void PythonQtShell_QAbstractItemView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::customEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QAbstractItemView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::devType(); -} -void PythonQtShell_QAbstractItemView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::doItemsLayout(); -} -void PythonQtShell_QAbstractItemView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::dragEnterEvent(event0); -} -void PythonQtShell_QAbstractItemView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::dragLeaveEvent(event0); -} -void PythonQtShell_QAbstractItemView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::dragMoveEvent(event0); -} -void PythonQtShell_QAbstractItemView::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::dropEvent(event0); -} -bool PythonQtShell_QAbstractItemView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::edit(index0, trigger1, event2); -} -void PythonQtShell_QAbstractItemView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::editorDestroyed(editor0); -} -void PythonQtShell_QAbstractItemView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractItemView::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::event(event0); -} -bool PythonQtShell_QAbstractItemView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractItemView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::focusInEvent(event0); -} -bool PythonQtShell_QAbstractItemView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractItemView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::focusOutEvent(event0); -} -bool PythonQtShell_QAbstractItemView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::hasHeightForWidth(); -} -int PythonQtShell_QAbstractItemView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractItemView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::hideEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractItemView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QAbstractItemView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QAbstractItemView::indexAt(const QPoint& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -void PythonQtShell_QAbstractItemView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::initPainter(painter0); -} -void PythonQtShell_QAbstractItemView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QAbstractItemView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::inputMethodQuery(query0); -} -bool PythonQtShell_QAbstractItemView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return bool(); -} -void PythonQtShell_QAbstractItemView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::keyPressEvent(event0); -} -void PythonQtShell_QAbstractItemView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::keyboardSearch(search0); -} -void PythonQtShell_QAbstractItemView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::metric(arg__1); -} -void PythonQtShell_QAbstractItemView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QAbstractItemView::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::mouseMoveEvent(event0); -} -void PythonQtShell_QAbstractItemView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::mousePressEvent(event0); -} -void PythonQtShell_QAbstractItemView::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::mouseReleaseEvent(event0); -} -QModelIndex PythonQtShell_QAbstractItemView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -void PythonQtShell_QAbstractItemView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractItemView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QAbstractItemView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::paintEngine(); -} -void PythonQtShell_QAbstractItemView::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QAbstractItemView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::redirected(offset0); -} -void PythonQtShell_QAbstractItemView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::reset(); -} -void PythonQtShell_QAbstractItemView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::resizeEvent(event0); -} -void PythonQtShell_QAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QAbstractItemView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QAbstractItemView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QAbstractItemView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractItemView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::selectAll(); -} -QList PythonQtShell_QAbstractItemView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::selectedIndexes(); -} -void PythonQtShell_QAbstractItemView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QAbstractItemView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::selectionCommand(index0, event1); -} -void PythonQtShell_QAbstractItemView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::setModel(model0); -} -void PythonQtShell_QAbstractItemView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::setRootIndex(index0); -} -void PythonQtShell_QAbstractItemView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractItemView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QAbstractItemView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QAbstractItemView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::sharedPainter(); -} -void PythonQtShell_QAbstractItemView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::showEvent(arg__1); -} -int PythonQtShell_QAbstractItemView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::sizeHintForColumn(column0); -} -int PythonQtShell_QAbstractItemView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::sizeHintForRow(row0); -} -void PythonQtShell_QAbstractItemView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::startDrag(supportedActions0); -} -void PythonQtShell_QAbstractItemView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractItemView::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::timerEvent(event0); -} -void PythonQtShell_QAbstractItemView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::updateEditorData(); -} -void PythonQtShell_QAbstractItemView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::updateEditorGeometries(); -} -void PythonQtShell_QAbstractItemView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::updateGeometries(); -} -int PythonQtShell_QAbstractItemView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractItemView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::verticalScrollbarAction(action0); -} -void PythonQtShell_QAbstractItemView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractItemView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QAbstractItemView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::viewOptions(); -} -bool PythonQtShell_QAbstractItemView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::viewportEvent(event0); -} -QSize PythonQtShell_QAbstractItemView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractItemView::viewportSizeHint(); -} -QRect PythonQtShell_QAbstractItemView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRect(); -} -QRegion PythonQtShell_QAbstractItemView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRegion(); -} -void PythonQtShell_QAbstractItemView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::closeEditor(QAbstractItemView* theWrappedObject, QWidget* editor, QAbstractItemDelegate::EndEditHint hint) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_closeEditor(editor, hint)); -} - -void PythonQtWrapper_QAbstractItemView::closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index) -{ - ( theWrappedObject->closePersistentEditor(index)); -} - -void PythonQtWrapper_QAbstractItemView::commitData(QAbstractItemView* theWrappedObject, QWidget* editor) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_commitData(editor)); -} - -void PythonQtWrapper_QAbstractItemView::currentChanged(QAbstractItemView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_currentChanged(current, previous)); -} - -QModelIndex PythonQtWrapper_QAbstractItemView::currentIndex(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QAbstractItemView::dataChanged(QAbstractItemView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight, roles)); -} - -Qt::DropAction PythonQtWrapper_QAbstractItemView::defaultDropAction(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->defaultDropAction()); -} - -QPoint PythonQtWrapper_QAbstractItemView::dirtyRegionOffset(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dirtyRegionOffset()); -} - -void PythonQtWrapper_QAbstractItemView::doAutoScroll(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_doAutoScroll()); -} - -void PythonQtWrapper_QAbstractItemView::doItemsLayout(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_doItemsLayout()); -} - -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)); -} - -int PythonQtWrapper_QAbstractItemView::dropIndicatorPosition(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_dropIndicatorPosition()); -} - -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()); -} - -void PythonQtWrapper_QAbstractItemView::editorDestroyed(QAbstractItemView* theWrappedObject, QObject* editor) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_editorDestroyed(editor)); -} - -bool PythonQtWrapper_QAbstractItemView::event(QAbstractItemView* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QAbstractItemView::executeDelayedItemsLayout(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_executeDelayedItemsLayout()); -} - -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()); -} - -int PythonQtWrapper_QAbstractItemView::horizontalOffset(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_horizontalOffset()); -} - -QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::horizontalScrollMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->horizontalScrollMode()); -} - -void PythonQtWrapper_QAbstractItemView::horizontalScrollbarAction(QAbstractItemView* theWrappedObject, int action) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_horizontalScrollbarAction(action)); -} - -void PythonQtWrapper_QAbstractItemView::horizontalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_horizontalScrollbarValueChanged(value)); -} - -QSize PythonQtWrapper_QAbstractItemView::iconSize(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -QModelIndex PythonQtWrapper_QAbstractItemView::indexAt(QAbstractItemView* theWrappedObject, const QPoint& point) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_indexAt(point)); -} - -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)); -} - -bool PythonQtWrapper_QAbstractItemView::isIndexHidden(QAbstractItemView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -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::reset(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_reset()); -} - -void PythonQtWrapper_QAbstractItemView::resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_resizeEvent(event)); -} - -QModelIndex PythonQtWrapper_QAbstractItemView::rootIndex(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->rootIndex()); -} - -void PythonQtWrapper_QAbstractItemView::rowsAboutToBeRemoved(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_rowsAboutToBeRemoved(parent, start, end)); -} - -void PythonQtWrapper_QAbstractItemView::rowsInserted(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_rowsInserted(parent, start, end)); -} - -void PythonQtWrapper_QAbstractItemView::scheduleDelayedItemsLayout(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_scheduleDelayedItemsLayout()); -} - -void PythonQtWrapper_QAbstractItemView::scrollDirtyRegion(QAbstractItemView* theWrappedObject, int dx, int dy) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_scrollDirtyRegion(dx, dy)); -} - -void PythonQtWrapper_QAbstractItemView::scrollTo(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_scrollTo(index, hint)); -} - -void PythonQtWrapper_QAbstractItemView::selectAll(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectAll()); -} - -QList PythonQtWrapper_QAbstractItemView::selectedIndexes(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectedIndexes()); -} - -QAbstractItemView::SelectionBehavior PythonQtWrapper_QAbstractItemView::selectionBehavior(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->selectionBehavior()); -} - -void PythonQtWrapper_QAbstractItemView::selectionChanged(QAbstractItemView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_selectionChanged(selected, deselected)); -} - -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::setDirtyRegion(QAbstractItemView* theWrappedObject, const QRegion& region) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setDirtyRegion(region)); -} - -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, PythonQtPassOwnershipToCPP 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::setRootIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setRootIndex(index)); -} - -void PythonQtWrapper_QAbstractItemView::setSelection(QAbstractItemView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setSelection(rect, command)); -} - -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::setState(QAbstractItemView* theWrappedObject, int state) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_setState(state)); -} - -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::startAutoScroll(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startAutoScroll()); -} - -void PythonQtWrapper_QAbstractItemView::startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_startDrag(supportedActions)); -} - -int PythonQtWrapper_QAbstractItemView::state(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_state()); -} - -void PythonQtWrapper_QAbstractItemView::stopAutoScroll(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_stopAutoScroll()); -} - -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)); -} - -void PythonQtWrapper_QAbstractItemView::updateEditorData(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_updateEditorData()); -} - -void PythonQtWrapper_QAbstractItemView::updateEditorGeometries(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_updateEditorGeometries()); -} - -void PythonQtWrapper_QAbstractItemView::updateGeometries(QAbstractItemView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_updateGeometries()); -} - -int PythonQtWrapper_QAbstractItemView::verticalOffset(QAbstractItemView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalOffset()); -} - -QAbstractItemView::ScrollMode PythonQtWrapper_QAbstractItemView::verticalScrollMode(QAbstractItemView* theWrappedObject) const -{ - return ( theWrappedObject->verticalScrollMode()); -} - -void PythonQtWrapper_QAbstractItemView::verticalScrollbarAction(QAbstractItemView* theWrappedObject, int action) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalScrollbarAction(action)); -} - -void PythonQtWrapper_QAbstractItemView::verticalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalScrollbarValueChanged(value)); -} - -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)); -} - -QRect PythonQtWrapper_QAbstractItemView::visualRect(QAbstractItemView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_visualRect(index)); -} - -QRegion PythonQtWrapper_QAbstractItemView::visualRegionForSelection(QAbstractItemView* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_visualRegionForSelection(selection)); -} - - - -PythonQtShell_QAbstractPrintDialog::~PythonQtShell_QAbstractPrintDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractPrintDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::accept(); -} -void PythonQtShell_QAbstractPrintDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::actionEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::changeEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::childEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::closeEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::customEvent(arg__1); -} -int PythonQtShell_QAbstractPrintDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::devType(); -} -void PythonQtShell_QAbstractPrintDialog::done(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::done(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::dropEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::event(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QAbstractPrintDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractPrintDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractPrintDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::hasHeightForWidth(); -} -int PythonQtShell_QAbstractPrintDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::hideEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::initPainter(painter0); -} -void PythonQtShell_QAbstractPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::metric(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QAbstractPrintDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::open(); -} -QPaintEngine* PythonQtShell_QAbstractPrintDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::paintEngine(); -} -void PythonQtShell_QAbstractPrintDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QAbstractPrintDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::redirected(offset0); -} -void PythonQtShell_QAbstractPrintDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::reject(); -} -void PythonQtShell_QAbstractPrintDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QAbstractPrintDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractPrintDialog::sharedPainter(); -} -void PythonQtShell_QAbstractPrintDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::showEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractPrintDialog::timerEvent(arg__1); -} -void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::exec(QAbstractPrintDialog* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QAbstractPrintDialog*)theWrappedObject)->promoted_exec()); -} - -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()); -} - - - -PythonQtShell_QAbstractProxyModel::~PythonQtShell_QAbstractProxyModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QAbstractProxyModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::buddy(index0); -} -bool PythonQtShell_QAbstractProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractProxyModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::canFetchMore(parent0); -} -void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::childEvent(arg__1); -} -int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::data(proxyIndex0, role1); -} -bool PythonQtShell_QAbstractProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractProxyModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::event(arg__1); -} -bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QAbstractProxyModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::flags(index0); -} -bool PythonQtShell_QAbstractProxyModel::hasChildren(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::hasChildren(parent0); -} -QVariant PythonQtShell_QAbstractProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QAbstractProxyModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -bool PythonQtShell_QAbstractProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QAbstractProxyModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::itemData(index0); -} -QModelIndex PythonQtShell_QAbstractProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&sourceIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapSelectionFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::mapSelectionFromSource(selection0); -} -QItemSelection PythonQtShell_QAbstractProxyModel::mapSelectionToSource(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapSelectionToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::mapSelectionToSource(selection0); -} -QModelIndex PythonQtShell_QAbstractProxyModel::mapToSource(const QModelIndex& proxyIndex0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mapToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&proxyIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -QList PythonQtShell_QAbstractProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QAbstractProxyModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::mimeData(indexes0); -} -QStringList PythonQtShell_QAbstractProxyModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::mimeTypes(); -} -bool PythonQtShell_QAbstractProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QAbstractProxyModel::parent(const QModelIndex& child0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QModelIndex(); -} -bool PythonQtShell_QAbstractProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QAbstractProxyModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::revert(); -} -QHash PythonQtShell_QAbstractProxyModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::roleNames(); -} -int PythonQtShell_QAbstractProxyModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAbstractProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::setData(index0, value1, role2); -} -bool PythonQtShell_QAbstractProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QAbstractProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::setItemData(index0, roles1); -} -void PythonQtShell_QAbstractProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSourceModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::setSourceModel(sourceModel0); -} -QModelIndex PythonQtShell_QAbstractProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QAbstractProxyModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::sort(column0, order1); -} -QSize PythonQtShell_QAbstractProxyModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::span(index0); -} -bool PythonQtShell_QAbstractProxyModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QAbstractProxyModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractProxyModel::supportedDropActions(); -} -void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractProxyModel::timerEvent(arg__1); -} -QAbstractProxyModel* PythonQtWrapper_QAbstractProxyModel::new_QAbstractProxyModel(QObject* parent) -{ -return new PythonQtShell_QAbstractProxyModel(parent); } - -QModelIndex PythonQtWrapper_QAbstractProxyModel::buddy(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_buddy(index)); -} - -bool PythonQtWrapper_QAbstractProxyModel::canFetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_canFetchMore(parent)); -} - -QVariant PythonQtWrapper_QAbstractProxyModel::data(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex, int role) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_data(proxyIndex, role)); -} - -void PythonQtWrapper_QAbstractProxyModel::fetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) -{ - ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_fetchMore(parent)); -} - -Qt::ItemFlags PythonQtWrapper_QAbstractProxyModel::flags(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_flags(index)); -} - -bool PythonQtWrapper_QAbstractProxyModel::hasChildren(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_hasChildren(parent)); -} - -QVariant PythonQtWrapper_QAbstractProxyModel::headerData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QMap PythonQtWrapper_QAbstractProxyModel::itemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_itemData(index)); -} - -QModelIndex PythonQtWrapper_QAbstractProxyModel::mapFromSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mapFromSource(sourceIndex)); -} - -QItemSelection PythonQtWrapper_QAbstractProxyModel::mapSelectionFromSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mapSelectionFromSource(selection)); -} - -QItemSelection PythonQtWrapper_QAbstractProxyModel::mapSelectionToSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mapSelectionToSource(selection)); -} - -QModelIndex PythonQtWrapper_QAbstractProxyModel::mapToSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mapToSource(proxyIndex)); -} - -QMimeData* PythonQtWrapper_QAbstractProxyModel::mimeData(QAbstractProxyModel* theWrappedObject, const QList& indexes) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mimeData(indexes)); -} - -QStringList PythonQtWrapper_QAbstractProxyModel::mimeTypes(QAbstractProxyModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_mimeTypes()); -} - -void PythonQtWrapper_QAbstractProxyModel::revert(QAbstractProxyModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_revert()); -} - -bool PythonQtWrapper_QAbstractProxyModel::setData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -bool PythonQtWrapper_QAbstractProxyModel::setHeaderData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_setHeaderData(section, orientation, value, role)); -} - -bool PythonQtWrapper_QAbstractProxyModel::setItemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QMap& roles) -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_setItemData(index, roles)); -} - -void PythonQtWrapper_QAbstractProxyModel::setSourceModel(QAbstractProxyModel* theWrappedObject, QAbstractItemModel* sourceModel) -{ - ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_setSourceModel(sourceModel)); -} - -QModelIndex PythonQtWrapper_QAbstractProxyModel::sibling(QAbstractProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_sibling(row, column, idx)); -} - -void PythonQtWrapper_QAbstractProxyModel::sort(QAbstractProxyModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_sort(column, order)); -} - -QAbstractItemModel* PythonQtWrapper_QAbstractProxyModel::sourceModel(QAbstractProxyModel* theWrappedObject) const -{ - return ( theWrappedObject->sourceModel()); -} - -QSize PythonQtWrapper_QAbstractProxyModel::span(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_span(index)); -} - -bool PythonQtWrapper_QAbstractProxyModel::submit(QAbstractProxyModel* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_submit()); -} - -Qt::DropActions PythonQtWrapper_QAbstractProxyModel::supportedDropActions(QAbstractProxyModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->promoted_supportedDropActions()); -} - - - -PythonQtShell_QAbstractScrollArea::~PythonQtShell_QAbstractScrollArea() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractScrollArea::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::actionEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::changeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::childEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::closeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::customEvent(arg__1); -} -int PythonQtShell_QAbstractScrollArea::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::devType(); -} -void PythonQtShell_QAbstractScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::dropEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::event(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractScrollArea::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractScrollArea::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::focusOutEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::hasHeightForWidth(); -} -int PythonQtShell_QAbstractScrollArea::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractScrollArea::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::hideEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::initPainter(painter0); -} -void PythonQtShell_QAbstractScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractScrollArea::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::keyPressEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::metric(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QAbstractScrollArea::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::paintEngine(); -} -void PythonQtShell_QAbstractScrollArea::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QAbstractScrollArea::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::redirected(offset0); -} -void PythonQtShell_QAbstractScrollArea::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::resizeEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QAbstractScrollArea::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::setupViewport(viewport0); -} -QPainter* PythonQtShell_QAbstractScrollArea::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::sharedPainter(); -} -void PythonQtShell_QAbstractScrollArea::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::showEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::timerEvent(arg__1); -} -bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::viewportEvent(arg__1); -} -QSize PythonQtShell_QAbstractScrollArea::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractScrollArea::viewportSizeHint(); -} -void PythonQtShell_QAbstractScrollArea::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractScrollArea::wheelEvent(arg__1); -} -QAbstractScrollArea* PythonQtWrapper_QAbstractScrollArea::new_QAbstractScrollArea(QWidget* parent) -{ -return new PythonQtShell_QAbstractScrollArea(parent); } - -void PythonQtWrapper_QAbstractScrollArea::addScrollBarWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP 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)); -} - -bool PythonQtWrapper_QAbstractScrollArea::eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->horizontalScrollBar()); -} - -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, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setCornerWidget(widget)); -} - -void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar) -{ - ( theWrappedObject->setHorizontalScrollBar(scrollbar)); -} - -void PythonQtWrapper_QAbstractScrollArea::setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) -{ - ( theWrappedObject->setHorizontalScrollBarPolicy(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar) -{ - ( theWrappedObject->setVerticalScrollBar(scrollbar)); -} - -void PythonQtWrapper_QAbstractScrollArea::setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1) -{ - ( theWrappedObject->setVerticalScrollBarPolicy(arg__1)); -} - -void PythonQtWrapper_QAbstractScrollArea::setViewport(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setViewport(widget)); -} - -void PythonQtWrapper_QAbstractScrollArea::setViewportMargins(QAbstractScrollArea* theWrappedObject, const QMargins& margins) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_setViewportMargins(margins)); -} - -void PythonQtWrapper_QAbstractScrollArea::setViewportMargins(QAbstractScrollArea* theWrappedObject, int left, int top, int right, int bottom) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_setViewportMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QAbstractScrollArea::setupViewport(QAbstractScrollArea* theWrappedObject, QWidget* viewport) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_setupViewport(viewport)); -} - -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)); -} - -QSize PythonQtWrapper_QAbstractScrollArea::viewportSizeHint(QAbstractScrollArea* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_viewportSizeHint()); -} - -void PythonQtWrapper_QAbstractScrollArea::wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - - - -PythonQtShell_QAbstractSlider::~PythonQtShell_QAbstractSlider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractSlider::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::actionEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::changeEvent(e0); -} -void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::childEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::closeEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::contextMenuEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::customEvent(arg__1); -} -int PythonQtShell_QAbstractSlider::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::devType(); -} -void PythonQtShell_QAbstractSlider::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::dropEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::event(e0); -} -bool PythonQtShell_QAbstractSlider::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::focusInEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractSlider::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::focusOutEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::hasHeightForWidth(); -} -int PythonQtShell_QAbstractSlider::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractSlider::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::hideEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::initPainter(painter0); -} -void PythonQtShell_QAbstractSlider::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractSlider::keyPressEvent(QKeyEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::keyPressEvent(ev0); -} -void PythonQtShell_QAbstractSlider::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::keyReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::metric(arg__1); -} -QSize PythonQtShell_QAbstractSlider::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::minimumSizeHint(); -} -void PythonQtShell_QAbstractSlider::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::mouseMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::mousePressEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QAbstractSlider::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::paintEngine(); -} -void PythonQtShell_QAbstractSlider::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QAbstractSlider::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::redirected(offset0); -} -void PythonQtShell_QAbstractSlider::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QAbstractSlider::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::sharedPainter(); -} -void PythonQtShell_QAbstractSlider::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::showEvent(arg__1); -} -QSize PythonQtShell_QAbstractSlider::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSlider::sizeHint(); -} -void PythonQtShell_QAbstractSlider::sliderChange(QAbstractSlider::SliderChange change0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sliderChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::sliderChange(change0); -} -void PythonQtShell_QAbstractSlider::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::timerEvent(arg__1); -} -void PythonQtShell_QAbstractSlider::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSlider::wheelEvent(e0); -} -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()); -} - -QAbstractSlider::SliderAction PythonQtWrapper_QAbstractSlider::repeatAction(QAbstractSlider* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_repeatAction()); -} - -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::setRepeatAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action, int thresholdTime, int repeatTime) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_setRepeatAction(action, thresholdTime, repeatTime)); -} - -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)); -} - - - -PythonQtShell_QAbstractSpinBox::~PythonQtShell_QAbstractSpinBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAbstractSpinBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::actionEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::changeEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::childEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::clear(); -} -void PythonQtShell_QAbstractSpinBox::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::closeEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::contextMenuEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::customEvent(arg__1); -} -int PythonQtShell_QAbstractSpinBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::devType(); -} -void PythonQtShell_QAbstractSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::dropEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::enterEvent(arg__1); -} -bool PythonQtShell_QAbstractSpinBox::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::event(event0); -} -bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::fixup(input0); -} -void PythonQtShell_QAbstractSpinBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::focusInEvent(event0); -} -bool PythonQtShell_QAbstractSpinBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::focusNextPrevChild(next0); -} -void PythonQtShell_QAbstractSpinBox::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::focusOutEvent(event0); -} -bool PythonQtShell_QAbstractSpinBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::hasHeightForWidth(); -} -int PythonQtShell_QAbstractSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QAbstractSpinBox::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::hideEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::initPainter(painter0); -} -void PythonQtShell_QAbstractSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QAbstractSpinBox::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::keyPressEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::keyReleaseEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::leaveEvent(arg__1); -} -int PythonQtShell_QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::metric(arg__1); -} -void PythonQtShell_QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::mouseMoveEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::mousePressEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::mouseReleaseEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::moveEvent(arg__1); -} -bool PythonQtShell_QAbstractSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QAbstractSpinBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::paintEngine(); -} -void PythonQtShell_QAbstractSpinBox::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QAbstractSpinBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::redirected(offset0); -} -void PythonQtShell_QAbstractSpinBox::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::resizeEvent(event0); -} -QPainter* PythonQtShell_QAbstractSpinBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::sharedPainter(); -} -void PythonQtShell_QAbstractSpinBox::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::showEvent(event0); -} -void PythonQtShell_QAbstractSpinBox::stepBy(int steps0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QAbstractSpinBox::stepEnabled() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::stepEnabled(); -} -void PythonQtShell_QAbstractSpinBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::tabletEvent(arg__1); -} -void PythonQtShell_QAbstractSpinBox::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::timerEvent(event0); -} -QValidator::State PythonQtShell_QAbstractSpinBox::validate(QString& input0, int& pos1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractSpinBox::validate(input0, pos1); -} -void PythonQtShell_QAbstractSpinBox::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractSpinBox::wheelEvent(event0); -} -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::clear(QAbstractSpinBox* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_clear()); -} - -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)); -} - -void PythonQtWrapper_QAbstractSpinBox::initStyleOption(QAbstractSpinBox* theWrappedObject, QStyleOptionSpinBox* option) const -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - -QLineEdit* PythonQtWrapper_QAbstractSpinBox::lineEdit(QAbstractSpinBox* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_lineEdit()); -} - -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::setLineEdit(QAbstractSpinBox* theWrappedObject, QLineEdit* edit) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_setLineEdit(edit)); -} - -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()); -} - - - -PythonQtShell_QAbstractTableModel::~PythonQtShell_QAbstractTableModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QAbstractTableModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::buddy(index0); -} -bool PythonQtShell_QAbstractTableModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractTableModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::canFetchMore(parent0); -} -void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTableModel::childEvent(arg__1); -} -int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractTableModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTableModel::customEvent(arg__1); -} -QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVariant(); -} -bool PythonQtShell_QAbstractTableModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QAbstractTableModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::event(arg__1); -} -bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTableModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QAbstractTableModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::flags(index0); -} -QVariant PythonQtShell_QAbstractTableModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QAbstractTableModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::index(row0, column1, parent2); -} -bool PythonQtShell_QAbstractTableModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractTableModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QAbstractTableModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::itemData(index0); -} -QList PythonQtShell_QAbstractTableModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QAbstractTableModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::mimeData(indexes0); -} -QStringList PythonQtShell_QAbstractTableModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::mimeTypes(); -} -bool PythonQtShell_QAbstractTableModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractTableModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QAbstractTableModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QAbstractTableModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QAbstractTableModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTableModel::revert(); -} -QHash PythonQtShell_QAbstractTableModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::roleNames(); -} -int PythonQtShell_QAbstractTableModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -bool PythonQtShell_QAbstractTableModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::setData(index0, value1, role2); -} -bool PythonQtShell_QAbstractTableModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QAbstractTableModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::setItemData(index0, roles1); -} -QModelIndex PythonQtShell_QAbstractTableModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QAbstractTableModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTableModel::sort(column0, order1); -} -QSize PythonQtShell_QAbstractTableModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::span(index0); -} -bool PythonQtShell_QAbstractTableModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::submit(); -} -Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QAbstractTableModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTableModel::supportedDropActions(); -} -void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QAbstractTextDocumentLayout::~PythonQtShell_QAbstractTextDocumentLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("blockBoundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRectF(); -} -void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::childEvent(arg__1); -} -void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::customEvent(arg__1); -} -void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("documentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QSizeF PythonQtShell_QAbstractTextDocumentLayout::documentSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("documentSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSizeF(); -} -void PythonQtShell_QAbstractTextDocumentLayout::draw(QPainter* painter0, const QAbstractTextDocumentLayout::PaintContext& context1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&context1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QAbstractTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); -} -bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTextDocumentLayout::event(arg__1); -} -bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAbstractTextDocumentLayout::eventFilter(arg__1, arg__2); -} -QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("frameBoundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&frame0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRectF(); -} -int PythonQtShell_QAbstractTextDocumentLayout::hitTest(const QPointF& point0, Qt::HitTestAccuracy accuracy1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue; - void* args[3] = {NULL, (void*)&point0, (void*)&accuracy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -int PythonQtShell_QAbstractTextDocumentLayout::pageCount() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pageCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("positionInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); -} -void PythonQtShell_QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); -} -void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAbstractTextDocumentLayout::timerEvent(arg__1); -} -QAbstractTextDocumentLayout* PythonQtWrapper_QAbstractTextDocumentLayout::new_QAbstractTextDocumentLayout(QTextDocument* doc) -{ -return new PythonQtShell_QAbstractTextDocumentLayout(doc); } - -QString PythonQtWrapper_QAbstractTextDocumentLayout::anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const -{ - return ( theWrappedObject->anchorAt(pos)); -} - -QRectF PythonQtWrapper_QAbstractTextDocumentLayout::blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_blockBoundingRect(block)); -} - -QTextDocument* PythonQtWrapper_QAbstractTextDocumentLayout::document(QAbstractTextDocumentLayout* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::documentChanged(QAbstractTextDocumentLayout* theWrappedObject, int from, int charsRemoved, int charsAdded) -{ - ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_documentChanged(from, charsRemoved, charsAdded)); -} - -QSizeF PythonQtWrapper_QAbstractTextDocumentLayout::documentSize(QAbstractTextDocumentLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_documentSize()); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::draw(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) -{ - ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_draw(painter, context)); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::drawInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) -{ - ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_drawInlineObject(painter, rect, object, posInDocument, format)); -} - -QTextCharFormat PythonQtWrapper_QAbstractTextDocumentLayout::format(QAbstractTextDocumentLayout* theWrappedObject, int pos) -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_format(pos)); -} - -int PythonQtWrapper_QAbstractTextDocumentLayout::formatIndex(QAbstractTextDocumentLayout* theWrappedObject, int pos) -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_formatIndex(pos)); -} - -QRectF PythonQtWrapper_QAbstractTextDocumentLayout::frameBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, QTextFrame* frame) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_frameBoundingRect(frame)); -} - -int PythonQtWrapper_QAbstractTextDocumentLayout::hitTest(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& point, Qt::HitTestAccuracy accuracy) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_hitTest(point, accuracy)); -} - -int PythonQtWrapper_QAbstractTextDocumentLayout::pageCount(QAbstractTextDocumentLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_pageCount()); -} - -QPaintDevice* PythonQtWrapper_QAbstractTextDocumentLayout::paintDevice(QAbstractTextDocumentLayout* theWrappedObject) const -{ - return ( theWrappedObject->paintDevice()); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::positionInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format) -{ - ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_positionInlineObject(item, posInDocument, format)); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::registerHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component) -{ - ( theWrappedObject->registerHandler(objectType, component)); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::resizeInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format) -{ - ( ((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->promoted_resizeInlineObject(item, posInDocument, format)); -} - -void PythonQtWrapper_QAbstractTextDocumentLayout::setPaintDevice(QAbstractTextDocumentLayout* theWrappedObject, QPaintDevice* device) -{ - ( theWrappedObject->setPaintDevice(device)); -} - - - -PythonQtShell_QAbstractTextDocumentLayout__PaintContext::~PythonQtShell_QAbstractTextDocumentLayout__PaintContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QAbstractTextDocumentLayout::PaintContext* PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext::new_QAbstractTextDocumentLayout__PaintContext() -{ -return new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); } - - - -PythonQtShell_QAbstractTextDocumentLayout__Selection::~PythonQtShell_QAbstractTextDocumentLayout__Selection() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QAbstractTextDocumentLayout::Selection* PythonQtWrapper_QAbstractTextDocumentLayout__Selection::new_QAbstractTextDocumentLayout__Selection() -{ -return new PythonQtShell_QAbstractTextDocumentLayout__Selection(); } - - - -PythonQtShell_QAccessibleEvent::~PythonQtShell_QAccessibleEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QAccessibleEvent* PythonQtWrapper_QAccessibleEvent::new_QAccessibleEvent(QObject* obj, QAccessible::Event typ) -{ -return new PythonQtShell_QAccessibleEvent(obj, typ); } - -int PythonQtWrapper_QAccessibleEvent::child(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->child()); -} - -QObject* PythonQtWrapper_QAccessibleEvent::object(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->object()); -} - -void PythonQtWrapper_QAccessibleEvent::setChild(QAccessibleEvent* theWrappedObject, int chld) -{ - ( theWrappedObject->setChild(chld)); -} - -QAccessible::Event PythonQtWrapper_QAccessibleEvent::type(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QAccessibleEvent::py_toString(QAccessibleEvent* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QAction::~PythonQtShell_QAction() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QAction::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAction::childEvent(arg__1); -} -void PythonQtShell_QAction::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QAction::customEvent(arg__1); -} -bool PythonQtShell_QAction::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAction::event(arg__1); -} -bool PythonQtShell_QAction::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QAction::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QAction::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::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)); -} - -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()); -} - - - -PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QActionGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QActionGroup::childEvent(arg__1); -} -void PythonQtShell_QActionGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QActionGroup::customEvent(arg__1); -} -bool PythonQtShell_QActionGroup::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QActionGroup::event(arg__1); -} -bool PythonQtShell_QActionGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QActionGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -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()); -} - -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()); -} - -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()); -} - -bool PythonQtWrapper_QApplication::static_QApplication_isEffectEnabled(Qt::UIEffect arg__1) -{ - return (QApplication::isEffectEnabled(arg__1)); -} - -int PythonQtWrapper_QApplication::static_QApplication_keyboardInputInterval() -{ - return (QApplication::keyboardInputInterval()); -} - -bool PythonQtWrapper_QApplication::notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); -} - -QPalette PythonQtWrapper_QApplication::static_QApplication_palette() -{ - return (QApplication::palette()); -} - -QPalette PythonQtWrapper_QApplication::static_QApplication_palette(const QWidget* arg__1) -{ - return (QApplication::palette(arg__1)); -} - -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_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_setKeyboardInputInterval(int arg__1) -{ - (QApplication::setKeyboardInputInterval(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_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()); -} - -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()); -} - -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()); -} - - - -QBackingStore* PythonQtWrapper_QBackingStore::new_QBackingStore(QWindow* window) -{ -return new QBackingStore(window); } - -void PythonQtWrapper_QBackingStore::beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->beginPaint(arg__1)); -} - -void PythonQtWrapper_QBackingStore::endPaint(QBackingStore* theWrappedObject) -{ - ( theWrappedObject->endPaint()); -} - -void PythonQtWrapper_QBackingStore::flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window, const QPoint& offset) -{ - ( theWrappedObject->flush(region, window, offset)); -} - -bool PythonQtWrapper_QBackingStore::hasStaticContents(QBackingStore* theWrappedObject) const -{ - return ( theWrappedObject->hasStaticContents()); -} - -QPaintDevice* PythonQtWrapper_QBackingStore::paintDevice(QBackingStore* theWrappedObject) -{ - return ( theWrappedObject->paintDevice()); -} - -void PythonQtWrapper_QBackingStore::resize(QBackingStore* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->resize(size)); -} - -bool PythonQtWrapper_QBackingStore::scroll(QBackingStore* theWrappedObject, const QRegion& area, int dx, int dy) -{ - return ( theWrappedObject->scroll(area, dx, dy)); -} - -void PythonQtWrapper_QBackingStore::setStaticContents(QBackingStore* theWrappedObject, const QRegion& region) -{ - ( theWrappedObject->setStaticContents(region)); -} - -QSize PythonQtWrapper_QBackingStore::size(QBackingStore* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QRegion PythonQtWrapper_QBackingStore::staticContents(QBackingStore* theWrappedObject) const -{ - return ( theWrappedObject->staticContents()); -} - -QWindow* PythonQtWrapper_QBackingStore::window(QBackingStore* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - - - -PythonQtShell_QBoxLayout::~PythonQtShell_QBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBoxLayout::addItem(arg__1); -} -void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBoxLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::controlTypes(); -} -int PythonQtShell_QBoxLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::count(); -} -void PythonQtShell_QBoxLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::event(arg__1); -} -bool PythonQtShell_QBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QBoxLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::geometry(); -} -int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QBoxLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBoxLayout::invalidate(); -} -bool PythonQtShell_QBoxLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QBoxLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::layout(); -} -QSize PythonQtShell_QBoxLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::maximumSize(); -} -QSize PythonQtShell_QBoxLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::minimumSize(); -} -void PythonQtShell_QBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP layout, int stretch) -{ - ( theWrappedObject->addLayout(layout, stretch)); -} - -void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) -{ - ( theWrappedObject->insertItem(index, arg__2)); -} - -void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch) -{ - ( theWrappedObject->insertLayout(index, layout, stretch)); -} - -void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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)); -} - - - -PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QButtonGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QButtonGroup::childEvent(arg__1); -} -void PythonQtShell_QButtonGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QButtonGroup::customEvent(arg__1); -} -bool PythonQtShell_QButtonGroup::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QButtonGroup::event(arg__1); -} -bool PythonQtShell_QButtonGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QButtonGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, 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)); -} - - - -PythonQtShell_QCalendarWidget::~PythonQtShell_QCalendarWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCalendarWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::actionEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::changeEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::childEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::closeEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::customEvent(arg__1); -} -int PythonQtShell_QCalendarWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::devType(); -} -void PythonQtShell_QCalendarWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::dropEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::enterEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::event(event0); -} -bool PythonQtShell_QCalendarWidget::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::eventFilter(watched0, event1); -} -void PythonQtShell_QCalendarWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QCalendarWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::focusOutEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::hasHeightForWidth(); -} -int PythonQtShell_QCalendarWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::heightForWidth(arg__1); -} -void PythonQtShell_QCalendarWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::hideEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::initPainter(painter0); -} -void PythonQtShell_QCalendarWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCalendarWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QCalendarWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::keyPressEvent(event0); -} -void PythonQtShell_QCalendarWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::leaveEvent(arg__1); -} -int PythonQtShell_QCalendarWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::metric(arg__1); -} -QSize PythonQtShell_QCalendarWidget::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::minimumSizeHint(); -} -void PythonQtShell_QCalendarWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::mousePressEvent(event0); -} -void PythonQtShell_QCalendarWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::moveEvent(arg__1); -} -bool PythonQtShell_QCalendarWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QCalendarWidget::paintCell(QPainter* painter0, const QRect& rect1, const QDate& date2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintCell"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&date2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::paintCell(painter0, rect1, date2); -} -QPaintEngine* PythonQtShell_QCalendarWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::paintEngine(); -} -void PythonQtShell_QCalendarWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QCalendarWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::redirected(offset0); -} -void PythonQtShell_QCalendarWidget::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::resizeEvent(event0); -} -QPainter* PythonQtShell_QCalendarWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::sharedPainter(); -} -void PythonQtShell_QCalendarWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::showEvent(arg__1); -} -QSize PythonQtShell_QCalendarWidget::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCalendarWidget::sizeHint(); -} -void PythonQtShell_QCalendarWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::tabletEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCalendarWidget::timerEvent(arg__1); -} -void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -void PythonQtWrapper_QCalendarWidget::updateCell(QCalendarWidget* theWrappedObject, const QDate& date) -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_updateCell(date)); -} - -void PythonQtWrapper_QCalendarWidget::updateCells(QCalendarWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_updateCells()); -} - -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()); -} - - - -PythonQtShell_QCheckBox::~PythonQtShell_QCheckBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCheckBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::actionEvent(arg__1); -} -void PythonQtShell_QCheckBox::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::changeEvent(e0); -} -void PythonQtShell_QCheckBox::checkStateSet() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::checkStateSet(); -} -void PythonQtShell_QCheckBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::childEvent(arg__1); -} -void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::closeEvent(arg__1); -} -void PythonQtShell_QCheckBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QCheckBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::customEvent(arg__1); -} -int PythonQtShell_QCheckBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::devType(); -} -void PythonQtShell_QCheckBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QCheckBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCheckBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QCheckBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::dropEvent(arg__1); -} -void PythonQtShell_QCheckBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::enterEvent(arg__1); -} -bool PythonQtShell_QCheckBox::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::event(e0); -} -bool PythonQtShell_QCheckBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::focusInEvent(e0); -} -bool PythonQtShell_QCheckBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::focusNextPrevChild(next0); -} -void PythonQtShell_QCheckBox::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::focusOutEvent(e0); -} -bool PythonQtShell_QCheckBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::hasHeightForWidth(); -} -int PythonQtShell_QCheckBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::heightForWidth(arg__1); -} -void PythonQtShell_QCheckBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::hideEvent(arg__1); -} -bool PythonQtShell_QCheckBox::hitButton(const QPoint& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::hitButton(pos0); -} -void PythonQtShell_QCheckBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::initPainter(painter0); -} -void PythonQtShell_QCheckBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCheckBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QCheckBox::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::keyPressEvent(e0); -} -void PythonQtShell_QCheckBox::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::keyReleaseEvent(e0); -} -void PythonQtShell_QCheckBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::leaveEvent(arg__1); -} -int PythonQtShell_QCheckBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::metric(arg__1); -} -void PythonQtShell_QCheckBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCheckBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QCheckBox::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::mousePressEvent(e0); -} -void PythonQtShell_QCheckBox::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::mouseReleaseEvent(e0); -} -void PythonQtShell_QCheckBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::moveEvent(arg__1); -} -bool PythonQtShell_QCheckBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QCheckBox::nextCheckState() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::nextCheckState(); -} -QPaintEngine* PythonQtShell_QCheckBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::paintEngine(); -} -void PythonQtShell_QCheckBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QCheckBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::redirected(offset0); -} -void PythonQtShell_QCheckBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QCheckBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCheckBox::sharedPainter(); -} -void PythonQtShell_QCheckBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::showEvent(arg__1); -} -void PythonQtShell_QCheckBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::tabletEvent(arg__1); -} -void PythonQtShell_QCheckBox::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCheckBox::timerEvent(e0); -} -void PythonQtShell_QCheckBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -void PythonQtWrapper_QCheckBox::initStyleOption(QCheckBox* theWrappedObject, QStyleOptionButton* option) const -{ - ( ((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->promoted_initStyleOption(option)); -} - -bool PythonQtWrapper_QCheckBox::isTristate(QCheckBox* theWrappedObject) const -{ - return ( theWrappedObject->isTristate()); -} - -QSize PythonQtWrapper_QCheckBox::minimumSizeHint(QCheckBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -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 PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode) -{ - ( theWrappedObject->clear(mode)); -} - -QImage PythonQtWrapper_QClipboard::image(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->image(mode)); -} - -const QMimeData* PythonQtWrapper_QClipboard::mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->mimeData(mode)); -} - -bool PythonQtWrapper_QClipboard::ownsClipboard(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsClipboard()); -} - -bool PythonQtWrapper_QClipboard::ownsFindBuffer(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsFindBuffer()); -} - -bool PythonQtWrapper_QClipboard::ownsSelection(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->ownsSelection()); -} - -QPixmap PythonQtWrapper_QClipboard::pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->pixmap(mode)); -} - -void PythonQtWrapper_QClipboard::setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setImage(arg__1, mode)); -} - -void PythonQtWrapper_QClipboard::setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode) -{ - ( theWrappedObject->setMimeData(data, mode)); -} - -void PythonQtWrapper_QClipboard::setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setPixmap(arg__1, mode)); -} - -void PythonQtWrapper_QClipboard::setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode) -{ - ( theWrappedObject->setText(arg__1, mode)); -} - -bool PythonQtWrapper_QClipboard::supportsFindBuffer(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->supportsFindBuffer()); -} - -bool PythonQtWrapper_QClipboard::supportsSelection(QClipboard* theWrappedObject) const -{ - return ( theWrappedObject->supportsSelection()); -} - -QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QClipboard::Mode mode) const -{ - return ( theWrappedObject->text(mode)); -} - -QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode) const -{ - return ( theWrappedObject->text(subtype, mode)); -} - - - -QCloseEvent* PythonQtWrapper_QCloseEvent::new_QCloseEvent() -{ -return new QCloseEvent(); } - - - -PythonQtShell_QColorDialog::~PythonQtShell_QColorDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QColorDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::accept(); -} -void PythonQtShell_QColorDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::actionEvent(arg__1); -} -void PythonQtShell_QColorDialog::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::changeEvent(event0); -} -void PythonQtShell_QColorDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::childEvent(arg__1); -} -void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::closeEvent(arg__1); -} -void PythonQtShell_QColorDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QColorDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::customEvent(arg__1); -} -int PythonQtShell_QColorDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::devType(); -} -void PythonQtShell_QColorDialog::done(int result0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::done(result0); -} -void PythonQtShell_QColorDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QColorDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QColorDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QColorDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::dropEvent(arg__1); -} -void PythonQtShell_QColorDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::enterEvent(arg__1); -} -bool PythonQtShell_QColorDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::event(arg__1); -} -bool PythonQtShell_QColorDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QColorDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::exec(); -} -void PythonQtShell_QColorDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QColorDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QColorDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QColorDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::hasHeightForWidth(); -} -int PythonQtShell_QColorDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::heightForWidth(arg__1); -} -void PythonQtShell_QColorDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::hideEvent(arg__1); -} -void PythonQtShell_QColorDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::initPainter(painter0); -} -void PythonQtShell_QColorDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QColorDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QColorDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QColorDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QColorDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::leaveEvent(arg__1); -} -int PythonQtShell_QColorDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::metric(arg__1); -} -void PythonQtShell_QColorDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QColorDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QColorDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QColorDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QColorDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::moveEvent(arg__1); -} -bool PythonQtShell_QColorDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QColorDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::open(); -} -QPaintEngine* PythonQtShell_QColorDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::paintEngine(); -} -void PythonQtShell_QColorDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QColorDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::redirected(offset0); -} -void PythonQtShell_QColorDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::reject(); -} -void PythonQtShell_QColorDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QColorDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColorDialog::sharedPainter(); -} -void PythonQtShell_QColorDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::showEvent(arg__1); -} -void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::tabletEvent(arg__1); -} -void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColorDialog::timerEvent(arg__1); -} -void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -QColor 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, 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) -{ - ( ((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->promoted_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, QColor 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, QColor color) -{ - (QColorDialog::setStandardColor(index, color)); -} - -void PythonQtWrapper_QColorDialog::setVisible(QColorDialog* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - -QColor PythonQtWrapper_QColorDialog::static_QColorDialog_standardColor(int index) -{ - return (QColorDialog::standardColor(index)); -} - -bool PythonQtWrapper_QColorDialog::testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const -{ - return ( theWrappedObject->testOption(option)); -} - - - -PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QColumnView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::actionEvent(arg__1); -} -void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::changeEvent(arg__1); -} -void PythonQtShell_QColumnView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::childEvent(arg__1); -} -void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::closeEditor(editor0, hint1); -} -void PythonQtShell_QColumnView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::closeEvent(arg__1); -} -void PythonQtShell_QColumnView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::commitData(editor0); -} -void PythonQtShell_QColumnView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::contextMenuEvent(arg__1); -} -QAbstractItemView* PythonQtShell_QColumnView::createColumn(const QModelIndex& rootIndex0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QAbstractItemView* returnValue; - void* args[2] = {NULL, (void*)&rootIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QColumnView::createColumn(rootIndex0); -} -void PythonQtShell_QColumnView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::currentChanged(current0, previous1); -} -void PythonQtShell_QColumnView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::customEvent(arg__1); -} -void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QColumnView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::devType(); -} -void PythonQtShell_QColumnView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::doItemsLayout(); -} -void PythonQtShell_QColumnView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::dragEnterEvent(event0); -} -void PythonQtShell_QColumnView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::dragLeaveEvent(event0); -} -void PythonQtShell_QColumnView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::dragMoveEvent(event0); -} -void PythonQtShell_QColumnView::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::dropEvent(event0); -} -bool PythonQtShell_QColumnView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::edit(index0, trigger1, event2); -} -void PythonQtShell_QColumnView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::editorDestroyed(editor0); -} -void PythonQtShell_QColumnView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::enterEvent(arg__1); -} -bool PythonQtShell_QColumnView::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::event(event0); -} -bool PythonQtShell_QColumnView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QColumnView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::focusInEvent(event0); -} -bool PythonQtShell_QColumnView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::focusNextPrevChild(next0); -} -void PythonQtShell_QColumnView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::focusOutEvent(event0); -} -bool PythonQtShell_QColumnView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::hasHeightForWidth(); -} -int PythonQtShell_QColumnView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::heightForWidth(arg__1); -} -void PythonQtShell_QColumnView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::hideEvent(arg__1); -} -int PythonQtShell_QColumnView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::horizontalOffset(); -} -void PythonQtShell_QColumnView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QColumnView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QColumnView::indexAt(const QPoint& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::indexAt(point0); -} -void PythonQtShell_QColumnView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::initPainter(painter0); -} -void PythonQtShell_QColumnView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QColumnView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::inputMethodQuery(query0); -} -bool PythonQtShell_QColumnView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::isIndexHidden(index0); -} -void PythonQtShell_QColumnView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::keyPressEvent(event0); -} -void PythonQtShell_QColumnView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QColumnView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::keyboardSearch(search0); -} -void PythonQtShell_QColumnView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::leaveEvent(arg__1); -} -int PythonQtShell_QColumnView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::metric(arg__1); -} -void PythonQtShell_QColumnView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QColumnView::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::mouseMoveEvent(event0); -} -void PythonQtShell_QColumnView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::mousePressEvent(event0); -} -void PythonQtShell_QColumnView::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::mouseReleaseEvent(event0); -} -void PythonQtShell_QColumnView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::moveEvent(arg__1); -} -bool PythonQtShell_QColumnView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QColumnView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::paintEngine(); -} -void PythonQtShell_QColumnView::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QColumnView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::redirected(offset0); -} -void PythonQtShell_QColumnView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::reset(); -} -void PythonQtShell_QColumnView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::resizeEvent(event0); -} -void PythonQtShell_QColumnView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QColumnView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QColumnView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QColumnView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::scrollTo(index0, hint1); -} -void PythonQtShell_QColumnView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::selectAll(); -} -QList PythonQtShell_QColumnView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::selectedIndexes(); -} -void PythonQtShell_QColumnView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QColumnView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::selectionCommand(index0, event1); -} -void PythonQtShell_QColumnView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::setModel(model0); -} -void PythonQtShell_QColumnView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::setRootIndex(index0); -} -void PythonQtShell_QColumnView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::setSelection(rect0, command1); -} -void PythonQtShell_QColumnView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QColumnView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QColumnView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::sharedPainter(); -} -void PythonQtShell_QColumnView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::showEvent(arg__1); -} -int PythonQtShell_QColumnView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QColumnView::sizeHintForColumn(column0); -} -int PythonQtShell_QColumnView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QColumnView::sizeHintForRow(row0); -} -void PythonQtShell_QColumnView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::startDrag(supportedActions0); -} -void PythonQtShell_QColumnView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::tabletEvent(arg__1); -} -void PythonQtShell_QColumnView::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::timerEvent(event0); -} -void PythonQtShell_QColumnView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::updateEditorData(); -} -void PythonQtShell_QColumnView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::updateEditorGeometries(); -} -void PythonQtShell_QColumnView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::updateGeometries(); -} -int PythonQtShell_QColumnView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::verticalOffset(); -} -void PythonQtShell_QColumnView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::verticalScrollbarAction(action0); -} -void PythonQtShell_QColumnView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QColumnView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QColumnView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::viewOptions(); -} -bool PythonQtShell_QColumnView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::viewportEvent(event0); -} -QSize PythonQtShell_QColumnView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::viewportSizeHint(); -} -QRect PythonQtShell_QColumnView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::visualRect(index0); -} -QRegion PythonQtShell_QColumnView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QColumnView::visualRegionForSelection(selection0); -} -void PythonQtShell_QColumnView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -void PythonQtWrapper_QColumnView::initializeColumn(QColumnView* theWrappedObject, QAbstractItemView* column) const -{ - ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_initializeColumn(column)); -} - -bool PythonQtWrapper_QColumnView::isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -QModelIndex PythonQtWrapper_QColumnView::moveCursor(QColumnView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers) -{ - return ( ((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->promoted_moveCursor(cursorAction, modifiers)); -} - -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)); -} - - - -PythonQtShell_QComboBox::~PythonQtShell_QComboBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QComboBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::actionEvent(arg__1); -} -void PythonQtShell_QComboBox::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::changeEvent(e0); -} -void PythonQtShell_QComboBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::childEvent(arg__1); -} -void PythonQtShell_QComboBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::closeEvent(arg__1); -} -void PythonQtShell_QComboBox::contextMenuEvent(QContextMenuEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::contextMenuEvent(e0); -} -void PythonQtShell_QComboBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::customEvent(arg__1); -} -int PythonQtShell_QComboBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::devType(); -} -void PythonQtShell_QComboBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QComboBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QComboBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::dropEvent(arg__1); -} -void PythonQtShell_QComboBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::enterEvent(arg__1); -} -bool PythonQtShell_QComboBox::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::event(event0); -} -bool PythonQtShell_QComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::focusInEvent(e0); -} -bool PythonQtShell_QComboBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::focusNextPrevChild(next0); -} -void PythonQtShell_QComboBox::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::focusOutEvent(e0); -} -bool PythonQtShell_QComboBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::hasHeightForWidth(); -} -int PythonQtShell_QComboBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::heightForWidth(arg__1); -} -void PythonQtShell_QComboBox::hideEvent(QHideEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::hideEvent(e0); -} -void PythonQtShell_QComboBox::hidePopup() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hidePopup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::hidePopup(); -} -void PythonQtShell_QComboBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::initPainter(painter0); -} -void PythonQtShell_QComboBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QComboBox::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::keyPressEvent(e0); -} -void PythonQtShell_QComboBox::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::keyReleaseEvent(e0); -} -void PythonQtShell_QComboBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::leaveEvent(arg__1); -} -int PythonQtShell_QComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::metric(arg__1); -} -void PythonQtShell_QComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QComboBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QComboBox::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::mousePressEvent(e0); -} -void PythonQtShell_QComboBox::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::mouseReleaseEvent(e0); -} -void PythonQtShell_QComboBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::moveEvent(arg__1); -} -bool PythonQtShell_QComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QComboBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::paintEngine(); -} -void PythonQtShell_QComboBox::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QComboBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::redirected(offset0); -} -void PythonQtShell_QComboBox::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::resizeEvent(e0); -} -QPainter* PythonQtShell_QComboBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QComboBox::sharedPainter(); -} -void PythonQtShell_QComboBox::showEvent(QShowEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::showEvent(e0); -} -void PythonQtShell_QComboBox::showPopup() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showPopup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::showPopup(); -} -void PythonQtShell_QComboBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::tabletEvent(arg__1); -} -void PythonQtShell_QComboBox::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::timerEvent(arg__1); -} -void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QComboBox::wheelEvent(e0); -} -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::initStyleOption(QComboBox* theWrappedObject, QStyleOptionComboBox* option) const -{ - ( ((PythonQtPublicPromoter_QComboBox*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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)); -} - - - -PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::actionEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::changeEvent(e0); -} -void PythonQtShell_QCommandLinkButton::checkStateSet() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::checkStateSet(); -} -void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::childEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::closeEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::customEvent(arg__1); -} -int PythonQtShell_QCommandLinkButton::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::devType(); -} -void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::dropEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::enterEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::event(e0); -} -bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::focusInEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::focusNextPrevChild(next0); -} -void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::focusOutEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::hasHeightForWidth(); -} -int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::heightForWidth(arg__1); -} -void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::hideEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::hitButton(const QPoint& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::hitButton(pos0); -} -void PythonQtShell_QCommandLinkButton::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::initPainter(painter0); -} -void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::keyPressEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::keyReleaseEvent(e0); -} -void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::leaveEvent(arg__1); -} -int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::metric(arg__1); -} -void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::mouseMoveEvent(e0); -} -void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::mousePressEvent(e0); -} -void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::mouseReleaseEvent(e0); -} -void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::moveEvent(arg__1); -} -bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QCommandLinkButton::nextCheckState() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QCommandLinkButton::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::paintEngine(); -} -void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::redirected(offset0); -} -void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommandLinkButton::sharedPainter(); -} -void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::showEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::tabletEvent(arg__1); -} -void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommandLinkButton::timerEvent(e0); -} -void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -QSize PythonQtWrapper_QCommandLinkButton::minimumSizeHint(QCommandLinkButton* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_minimumSizeHint()); -} - -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)); -} - -QSize PythonQtWrapper_QCommandLinkButton::sizeHint(QCommandLinkButton* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->promoted_sizeHint()); -} - - - -PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCommonStyle::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::childEvent(arg__1); -} -void PythonQtShell_QCommonStyle::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::customEvent(arg__1); -} -void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawComplexControl"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&p2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::drawComplexControl(cc0, opt1, p2, w3); -} -void PythonQtShell_QCommonStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawControl"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&element0, (void*)&opt1, (void*)&p2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::drawControl(element0, opt1, p2, w3); -} -void PythonQtShell_QCommonStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawItemPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); -} -void PythonQtShell_QCommonStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawItemText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); -} -void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawPrimitive"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&pe0, (void*)&opt1, (void*)&p2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::drawPrimitive(pe0, opt1, p2, w3); -} -bool PythonQtShell_QCommonStyle::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::event(arg__1); -} -bool PythonQtShell_QCommonStyle::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::eventFilter(arg__1, arg__2); -} -QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("generatedIconPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); -} -QStyle::SubControl PythonQtShell_QCommonStyle::hitTestComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, const QPoint& pt2, const QWidget* w3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitTestComplexControl"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue; - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::hitTestComplexControl(cc0, opt1, pt2, w3); -} -QRect PythonQtShell_QCommonStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemPixmapRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::itemPixmapRect(r0, flags1, pixmap2); -} -int PythonQtShell_QCommonStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layoutSpacing"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - int returnValue; - void* args[6] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); -} -int PythonQtShell_QCommonStyle::pixelMetric(QStyle::PixelMetric m0, const QStyleOption* opt1, const QWidget* widget2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pixelMetric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue; - void* args[4] = {NULL, (void*)&m0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::pixelMetric(m0, opt1, widget2); -} -void PythonQtShell_QCommonStyle::polish(QApplication* app0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("polish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::polish(app0); -} -void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("polish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } -} - QCommonStyle::polish(arg__1); -} -void PythonQtShell_QCommonStyle::polish(QWidget* widget0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("polish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::polish(widget0); -} -QSize PythonQtShell_QCommonStyle::sizeFromContents(QStyle::ContentsType ct0, const QStyleOption* opt1, const QSize& contentsSize2, const QWidget* widget3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeFromContents"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue; - void* args[5] = {NULL, (void*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::sizeFromContents(ct0, opt1, contentsSize2, widget3); -} -QIcon PythonQtShell_QCommonStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* opt1, const QWidget* widget2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("standardIcon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QIcon returnValue; - void* args[4] = {NULL, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::standardIcon(standardIcon0, opt1, widget2); -} -QPalette PythonQtShell_QCommonStyle::standardPalette() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("standardPalette"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::standardPalette(); -} -QPixmap PythonQtShell_QCommonStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("standardPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QPixmap(); -} -int PythonQtShell_QCommonStyle::styleHint(QStyle::StyleHint sh0, const QStyleOption* opt1, const QWidget* w2, QStyleHintReturn* shret3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("styleHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue; - void* args[5] = {NULL, (void*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::styleHint(sh0, opt1, w2, shret3); -} -QRect PythonQtShell_QCommonStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* w3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("subControlRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue; - void* args[5] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::subControlRect(cc0, opt1, sc2, w3); -} -QRect PythonQtShell_QCommonStyle::subElementRect(QStyle::SubElement r0, const QStyleOption* opt1, const QWidget* widget2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("subElementRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue; - void* args[4] = {NULL, (void*)&r0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QCommonStyle::subElementRect(r0, opt1, widget2); -} -void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::timerEvent(arg__1); -} -void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("unpolish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&application0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::unpolish(application0); -} -void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("unpolish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCommonStyle::unpolish(widget0); -} -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::layoutSpacing(QCommonStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_layoutSpacing(control1, control2, orientation, option, widget)); -} - -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)); -} - -QIcon PythonQtWrapper_QCommonStyle::standardIcon(QCommonStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* opt, const QWidget* widget) const -{ - return ( ((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->promoted_standardIcon(standardIcon, opt, 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)); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.h deleted file mode 100644 index 85031d396..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ /dev/null @@ -1,2728 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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) {}; - - ~PythonQtShell_QAbstractButton(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -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 paintEvent(QAbstractButton* theWrappedObject, QPaintEvent* e); - 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):QAbstractGraphicsShapeItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractGraphicsShapeItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 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_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); -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) {}; - - ~PythonQtShell_QAbstractItemDelegate(); - -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 destroyEditor(QWidget* editor, const QModelIndex& index) const; -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 bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void 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 void promoted_destroyEditor(QWidget* editor, const QModelIndex& index) const { QAbstractItemDelegate::destroyEditor(editor, index); } -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::editorEvent(event, model, option, index); } -inline bool promoted_helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) { return QAbstractItemDelegate::helpEvent(event, view, option, index); } -inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { this->paint(painter, option, index); } -inline QVector promoted_paintingRoles() const { return QAbstractItemDelegate::paintingRoles(); } -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 QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return this->sizeHint(option, 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; - void destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; - bool editorEvent(QAbstractItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); - bool helpEvent(QAbstractItemDelegate* theWrappedObject, QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); - void paint(QAbstractItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - QVector paintingRoles(QAbstractItemDelegate* theWrappedObject) const; - void setEditorData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; - void setModelData(QAbstractItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; - QSize sizeHint(QAbstractItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, 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) {}; - - ~PythonQtShell_QAbstractItemView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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: -enum CursorAction{ - MoveUp = QAbstractItemView::MoveUp, MoveDown = QAbstractItemView::MoveDown, MoveLeft = QAbstractItemView::MoveLeft, MoveRight = QAbstractItemView::MoveRight, MoveHome = QAbstractItemView::MoveHome, MoveEnd = QAbstractItemView::MoveEnd, MovePageUp = QAbstractItemView::MovePageUp, MovePageDown = QAbstractItemView::MovePageDown, MoveNext = QAbstractItemView::MoveNext, MovePrevious = QAbstractItemView::MovePrevious}; -enum DropIndicatorPosition{ - OnItem = QAbstractItemView::OnItem, AboveItem = QAbstractItemView::AboveItem, BelowItem = QAbstractItemView::BelowItem, OnViewport = QAbstractItemView::OnViewport}; -enum State{ - NoState = QAbstractItemView::NoState, DraggingState = QAbstractItemView::DraggingState, DragSelectingState = QAbstractItemView::DragSelectingState, EditingState = QAbstractItemView::EditingState, ExpandingState = QAbstractItemView::ExpandingState, CollapsingState = QAbstractItemView::CollapsingState, AnimatingState = QAbstractItemView::AnimatingState}; -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, const QVector& roles = QVector()) { QAbstractItemView::dataChanged(topLeft, bottomRight, roles); } -inline QPoint promoted_dirtyRegionOffset() const { return QAbstractItemView::dirtyRegionOffset(); } -inline void promoted_doAutoScroll() { QAbstractItemView::doAutoScroll(); } -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 int promoted_dropIndicatorPosition() const { return QAbstractItemView::dropIndicatorPosition(); } -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_executeDelayedItemsLayout() { QAbstractItemView::executeDelayedItemsLayout(); } -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 int promoted_horizontalOffset() const { return this->horizontalOffset(); } -inline void promoted_horizontalScrollbarAction(int action) { QAbstractItemView::horizontalScrollbarAction(action); } -inline void promoted_horizontalScrollbarValueChanged(int value) { QAbstractItemView::horizontalScrollbarValueChanged(value); } -inline QModelIndex promoted_indexAt(const QPoint& point) const { return this->indexAt(point); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QAbstractItemView::inputMethodEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QAbstractItemView::inputMethodQuery(query); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } -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_scheduleDelayedItemsLayout() { QAbstractItemView::scheduleDelayedItemsLayout(); } -inline void promoted_scrollDirtyRegion(int dx, int dy) { QAbstractItemView::scrollDirtyRegion(dx, dy); } -inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { this->scrollTo(index, hint); } -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_setDirtyRegion(const QRegion& region) { QAbstractItemView::setDirtyRegion(region); } -inline void promoted_setModel(QAbstractItemModel* model) { QAbstractItemView::setModel(model); } -inline void promoted_setRootIndex(const QModelIndex& index) { QAbstractItemView::setRootIndex(index); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } -inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QAbstractItemView::setSelectionModel(selectionModel); } -inline void promoted_setState(int state) { QAbstractItemView::setState((QAbstractItemView::State)state); } -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_startAutoScroll() { QAbstractItemView::startAutoScroll(); } -inline void promoted_startDrag(Qt::DropActions supportedActions) { QAbstractItemView::startDrag(supportedActions); } -inline int promoted_state() const { return QAbstractItemView::state(); } -inline void promoted_stopAutoScroll() { QAbstractItemView::stopAutoScroll(); } -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 int promoted_verticalOffset() const { return this->verticalOffset(); } -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); } -inline QRect promoted_visualRect(const QModelIndex& index) const { return this->visualRect(index); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } -}; - -class PythonQtWrapper_QAbstractItemView : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CursorAction DropIndicatorPosition EditTrigger State ) -Q_FLAGS(EditTriggers ) -enum CursorAction{ - MoveUp = PythonQtPublicPromoter_QAbstractItemView::MoveUp, MoveDown = PythonQtPublicPromoter_QAbstractItemView::MoveDown, MoveLeft = PythonQtPublicPromoter_QAbstractItemView::MoveLeft, MoveRight = PythonQtPublicPromoter_QAbstractItemView::MoveRight, MoveHome = PythonQtPublicPromoter_QAbstractItemView::MoveHome, MoveEnd = PythonQtPublicPromoter_QAbstractItemView::MoveEnd, MovePageUp = PythonQtPublicPromoter_QAbstractItemView::MovePageUp, MovePageDown = PythonQtPublicPromoter_QAbstractItemView::MovePageDown, MoveNext = PythonQtPublicPromoter_QAbstractItemView::MoveNext, MovePrevious = PythonQtPublicPromoter_QAbstractItemView::MovePrevious}; -enum DropIndicatorPosition{ - OnItem = PythonQtPublicPromoter_QAbstractItemView::OnItem, AboveItem = PythonQtPublicPromoter_QAbstractItemView::AboveItem, BelowItem = PythonQtPublicPromoter_QAbstractItemView::BelowItem, OnViewport = PythonQtPublicPromoter_QAbstractItemView::OnViewport}; -enum EditTrigger{ - NoEditTriggers = QAbstractItemView::NoEditTriggers, CurrentChanged = QAbstractItemView::CurrentChanged, DoubleClicked = QAbstractItemView::DoubleClicked, SelectedClicked = QAbstractItemView::SelectedClicked, EditKeyPressed = QAbstractItemView::EditKeyPressed, AnyKeyPressed = QAbstractItemView::AnyKeyPressed, AllEditTriggers = QAbstractItemView::AllEditTriggers}; -enum State{ - NoState = PythonQtPublicPromoter_QAbstractItemView::NoState, DraggingState = PythonQtPublicPromoter_QAbstractItemView::DraggingState, DragSelectingState = PythonQtPublicPromoter_QAbstractItemView::DragSelectingState, EditingState = PythonQtPublicPromoter_QAbstractItemView::EditingState, ExpandingState = PythonQtPublicPromoter_QAbstractItemView::ExpandingState, CollapsingState = PythonQtPublicPromoter_QAbstractItemView::CollapsingState, AnimatingState = PythonQtPublicPromoter_QAbstractItemView::AnimatingState}; -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 closeEditor(QAbstractItemView* theWrappedObject, QWidget* editor, QAbstractItemDelegate::EndEditHint hint); - void closePersistentEditor(QAbstractItemView* theWrappedObject, const QModelIndex& index); - void commitData(QAbstractItemView* theWrappedObject, QWidget* editor); - void currentChanged(QAbstractItemView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); - QModelIndex currentIndex(QAbstractItemView* theWrappedObject) const; - void dataChanged(QAbstractItemView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); - Qt::DropAction defaultDropAction(QAbstractItemView* theWrappedObject) const; - QPoint dirtyRegionOffset(QAbstractItemView* theWrappedObject) const; - void doAutoScroll(QAbstractItemView* theWrappedObject); - void doItemsLayout(QAbstractItemView* theWrappedObject); - 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); - int dropIndicatorPosition(QAbstractItemView* theWrappedObject) const; - bool edit(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); - QAbstractItemView::EditTriggers editTriggers(QAbstractItemView* theWrappedObject) const; - void editorDestroyed(QAbstractItemView* theWrappedObject, QObject* editor); - bool event(QAbstractItemView* theWrappedObject, QEvent* event); - void executeDelayedItemsLayout(QAbstractItemView* theWrappedObject); - void focusInEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); - bool focusNextPrevChild(QAbstractItemView* theWrappedObject, bool next); - void focusOutEvent(QAbstractItemView* theWrappedObject, QFocusEvent* event); - bool hasAutoScroll(QAbstractItemView* theWrappedObject) const; - int horizontalOffset(QAbstractItemView* theWrappedObject) const; - QAbstractItemView::ScrollMode horizontalScrollMode(QAbstractItemView* theWrappedObject) const; - void horizontalScrollbarAction(QAbstractItemView* theWrappedObject, int action); - void horizontalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value); - QSize iconSize(QAbstractItemView* theWrappedObject) const; - QModelIndex indexAt(QAbstractItemView* theWrappedObject, const QPoint& point) const; - QWidget* indexWidget(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; - void inputMethodEvent(QAbstractItemView* theWrappedObject, QInputMethodEvent* event); - QVariant inputMethodQuery(QAbstractItemView* theWrappedObject, Qt::InputMethodQuery query) const; - bool isIndexHidden(QAbstractItemView* theWrappedObject, const QModelIndex& index) 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 reset(QAbstractItemView* theWrappedObject); - void resizeEvent(QAbstractItemView* theWrappedObject, QResizeEvent* event); - QModelIndex rootIndex(QAbstractItemView* theWrappedObject) const; - void rowsAboutToBeRemoved(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end); - void rowsInserted(QAbstractItemView* theWrappedObject, const QModelIndex& parent, int start, int end); - void scheduleDelayedItemsLayout(QAbstractItemView* theWrappedObject); - void scrollDirtyRegion(QAbstractItemView* theWrappedObject, int dx, int dy); - void scrollTo(QAbstractItemView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); - void selectAll(QAbstractItemView* theWrappedObject); - QList selectedIndexes(QAbstractItemView* theWrappedObject) const; - QAbstractItemView::SelectionBehavior selectionBehavior(QAbstractItemView* theWrappedObject) const; - void selectionChanged(QAbstractItemView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); - 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 setDirtyRegion(QAbstractItemView* theWrappedObject, const QRegion& region); - 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, PythonQtPassOwnershipToCPP 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 setRootIndex(QAbstractItemView* theWrappedObject, const QModelIndex& index); - void setSelection(QAbstractItemView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); - void setSelectionBehavior(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionBehavior behavior); - void setSelectionMode(QAbstractItemView* theWrappedObject, QAbstractItemView::SelectionMode mode); - void setSelectionModel(QAbstractItemView* theWrappedObject, QItemSelectionModel* selectionModel); - void setState(QAbstractItemView* theWrappedObject, int state); - 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 startAutoScroll(QAbstractItemView* theWrappedObject); - void startDrag(QAbstractItemView* theWrappedObject, Qt::DropActions supportedActions); - int state(QAbstractItemView* theWrappedObject) const; - void stopAutoScroll(QAbstractItemView* theWrappedObject); - bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; - Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; - void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event); - void updateEditorData(QAbstractItemView* theWrappedObject); - void updateEditorGeometries(QAbstractItemView* theWrappedObject); - void updateGeometries(QAbstractItemView* theWrappedObject); - int verticalOffset(QAbstractItemView* theWrappedObject) const; - QAbstractItemView::ScrollMode verticalScrollMode(QAbstractItemView* theWrappedObject) const; - void verticalScrollbarAction(QAbstractItemView* theWrappedObject, int action); - void verticalScrollbarValueChanged(QAbstractItemView* theWrappedObject, int value); - QStyleOptionViewItem viewOptions(QAbstractItemView* theWrappedObject) const; - bool viewportEvent(QAbstractItemView* theWrappedObject, QEvent* event); - QRect visualRect(QAbstractItemView* theWrappedObject, const QModelIndex& index) const; - QRegion visualRegionForSelection(QAbstractItemView* theWrappedObject, const QItemSelection& selection) const; -}; - - - - - -class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog -{ -public: - PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = 0):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractPrintDialog(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_QAbstractPrintDialog : public QAbstractPrintDialog -{ public: -inline int promoted_exec() { return this->exec(); } -}; - -class PythonQtWrapper_QAbstractPrintDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PrintDialogOption PrintRange ) -Q_FLAGS(PrintDialogOptions ) -enum PrintDialogOption{ - None = QAbstractPrintDialog::None, PrintToFile = QAbstractPrintDialog::PrintToFile, PrintSelection = QAbstractPrintDialog::PrintSelection, PrintPageRange = QAbstractPrintDialog::PrintPageRange, PrintShowPageSize = QAbstractPrintDialog::PrintShowPageSize, PrintCollateCopies = QAbstractPrintDialog::PrintCollateCopies, DontUseSheet = QAbstractPrintDialog::DontUseSheet, PrintCurrentPage = QAbstractPrintDialog::PrintCurrentPage}; -enum PrintRange{ - AllPages = QAbstractPrintDialog::AllPages, Selection = QAbstractPrintDialog::Selection, PageRange = QAbstractPrintDialog::PageRange, CurrentPage = QAbstractPrintDialog::CurrentPage}; -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 exec(QAbstractPrintDialog* theWrappedObject); - 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_QAbstractProxyModel : public QAbstractProxyModel -{ -public: - PythonQtShell_QAbstractProxyModel(QObject* parent = 0):QAbstractProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual void childEvent(QChildEvent* arg__1); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual void customEvent(QEvent* arg__1); -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual 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) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractProxyModel : public QAbstractProxyModel -{ public: -inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractProxyModel::buddy(index); } -inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractProxyModel::canFetchMore(parent); } -inline QVariant promoted_data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const { return QAbstractProxyModel::data(proxyIndex, role); } -inline void promoted_fetchMore(const QModelIndex& parent) { QAbstractProxyModel::fetchMore(parent); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QAbstractProxyModel::flags(index); } -inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractProxyModel::hasChildren(parent); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role) const { return QAbstractProxyModel::headerData(section, orientation, role); } -inline QMap promoted_itemData(const QModelIndex& index) const { return QAbstractProxyModel::itemData(index); } -inline QModelIndex promoted_mapFromSource(const QModelIndex& sourceIndex) const { return this->mapFromSource(sourceIndex); } -inline QItemSelection promoted_mapSelectionFromSource(const QItemSelection& selection) const { return QAbstractProxyModel::mapSelectionFromSource(selection); } -inline QItemSelection promoted_mapSelectionToSource(const QItemSelection& selection) const { return QAbstractProxyModel::mapSelectionToSource(selection); } -inline QModelIndex promoted_mapToSource(const QModelIndex& proxyIndex) const { return this->mapToSource(proxyIndex); } -inline QMimeData* promoted_mimeData(const QList& indexes) const { return QAbstractProxyModel::mimeData(indexes); } -inline QStringList promoted_mimeTypes() const { return QAbstractProxyModel::mimeTypes(); } -inline void promoted_revert() { QAbstractProxyModel::revert(); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractProxyModel::setData(index, value, role); } -inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractProxyModel::setHeaderData(section, orientation, value, role); } -inline bool promoted_setItemData(const QModelIndex& index, const QMap& roles) { return QAbstractProxyModel::setItemData(index, roles); } -inline void promoted_setSourceModel(QAbstractItemModel* sourceModel) { QAbstractProxyModel::setSourceModel(sourceModel); } -inline QModelIndex promoted_sibling(int row, int column, const QModelIndex& idx) const { return QAbstractProxyModel::sibling(row, column, idx); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractProxyModel::sort(column, order); } -inline QSize promoted_span(const QModelIndex& index) const { return QAbstractProxyModel::span(index); } -inline bool promoted_submit() { return QAbstractProxyModel::submit(); } -inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractProxyModel::supportedDropActions(); } -}; - -class PythonQtWrapper_QAbstractProxyModel : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractProxyModel* new_QAbstractProxyModel(QObject* parent = 0); -void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } - QModelIndex buddy(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const; - bool canFetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const; - QVariant data(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; - void fetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent); - Qt::ItemFlags flags(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const; - bool hasChildren(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QVariant headerData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const; - QMap itemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const; - QModelIndex mapFromSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const; - QItemSelection mapSelectionFromSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const; - QItemSelection mapSelectionToSource(QAbstractProxyModel* theWrappedObject, const QItemSelection& selection) const; - QModelIndex mapToSource(QAbstractProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const; - QMimeData* mimeData(QAbstractProxyModel* theWrappedObject, const QList& indexes) const; - QStringList mimeTypes(QAbstractProxyModel* theWrappedObject) const; - void revert(QAbstractProxyModel* theWrappedObject); - bool setData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - bool setHeaderData(QAbstractProxyModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); - bool setItemData(QAbstractProxyModel* theWrappedObject, const QModelIndex& index, const QMap& roles); - void setSourceModel(QAbstractProxyModel* theWrappedObject, QAbstractItemModel* sourceModel); - QModelIndex sibling(QAbstractProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const; - void sort(QAbstractProxyModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - QAbstractItemModel* sourceModel(QAbstractProxyModel* theWrappedObject) const; - QSize span(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const; - bool submit(QAbstractProxyModel* theWrappedObject); - Qt::DropActions supportedDropActions(QAbstractProxyModel* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea -{ -public: - PythonQtShell_QAbstractScrollArea(QWidget* parent = 0):QAbstractScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractScrollArea(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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 bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QAbstractScrollArea::eventFilter(arg__1, arg__2); } -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 void promoted_setViewportMargins(const QMargins& margins) { QAbstractScrollArea::setViewportMargins(margins); } -inline void promoted_setViewportMargins(int left, int top, int right, int bottom) { QAbstractScrollArea::setViewportMargins(left, top, right, bottom); } -inline void promoted_setupViewport(QWidget* viewport) { QAbstractScrollArea::setupViewport(viewport); } -inline bool promoted_viewportEvent(QEvent* arg__1) { return QAbstractScrollArea::viewportEvent(arg__1); } -inline QSize promoted_viewportSizeHint() const { return QAbstractScrollArea::viewportSizeHint(); } -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, PythonQtPassOwnershipToCPP 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); - bool eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2); - 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, PythonQtPassOwnershipToCPP widget); - void setHorizontalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar); - void setHorizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); - void setVerticalScrollBar(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP scrollbar); - void setVerticalScrollBarPolicy(QAbstractScrollArea* theWrappedObject, Qt::ScrollBarPolicy arg__1); - void setViewport(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); - void setViewportMargins(QAbstractScrollArea* theWrappedObject, const QMargins& margins); - void setViewportMargins(QAbstractScrollArea* theWrappedObject, int left, int top, int right, int bottom); - void setupViewport(QAbstractScrollArea* theWrappedObject, QWidget* viewport); - 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); - QSize viewportSizeHint(QAbstractScrollArea* theWrappedObject) const; - void wheelEvent(QAbstractScrollArea* theWrappedObject, QWheelEvent* arg__1); -}; - - - - - -class PythonQtShell_QAbstractSlider : public QAbstractSlider -{ -public: - PythonQtShell_QAbstractSlider(QWidget* parent = 0):QAbstractSlider(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSlider(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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: -enum SliderChange{ - SliderRangeChange = QAbstractSlider::SliderRangeChange, SliderOrientationChange = QAbstractSlider::SliderOrientationChange, SliderStepsChange = QAbstractSlider::SliderStepsChange, SliderValueChange = QAbstractSlider::SliderValueChange}; -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 QAbstractSlider::SliderAction promoted_repeatAction() const { return QAbstractSlider::repeatAction(); } -inline void promoted_setRepeatAction(QAbstractSlider::SliderAction action, int thresholdTime = 500, int repeatTime = 50) { QAbstractSlider::setRepeatAction(action, thresholdTime, repeatTime); } -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 SliderChange ) -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}; -enum SliderChange{ - SliderRangeChange = PythonQtPublicPromoter_QAbstractSlider::SliderRangeChange, SliderOrientationChange = PythonQtPublicPromoter_QAbstractSlider::SliderOrientationChange, SliderStepsChange = PythonQtPublicPromoter_QAbstractSlider::SliderStepsChange, SliderValueChange = PythonQtPublicPromoter_QAbstractSlider::SliderValueChange}; -public slots: -QAbstractSlider* new_QAbstractSlider(QWidget* parent = 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; - QAbstractSlider::SliderAction repeatAction(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 setRepeatAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action, int thresholdTime = 500, int repeatTime = 50); - 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) {}; - - ~PythonQtShell_QAbstractSpinBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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 void promoted_initStyleOption(QStyleOptionSpinBox* option) const { QAbstractSpinBox::initStyleOption(option); } -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 QLineEdit* promoted_lineEdit() const { return QAbstractSpinBox::lineEdit(); } -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_setLineEdit(QLineEdit* edit) { QAbstractSpinBox::setLineEdit(edit); } -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 clear(QAbstractSpinBox* theWrappedObject); - 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); - void initStyleOption(QAbstractSpinBox* theWrappedObject, QStyleOptionSpinBox* option) const; - 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; - QLineEdit* lineEdit(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 setLineEdit(QAbstractSpinBox* theWrappedObject, QLineEdit* edit); - 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) {}; - - ~PythonQtShell_QAbstractTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual 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 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -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_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout -{ -public: - PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual void documentChanged(int from, int charsRemoved, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual QRectF frameBoundingRect(QTextFrame* frame) const; -virtual int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout -{ public: -inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } -inline void promoted_documentChanged(int from, int charsRemoved, int charsAdded) { this->documentChanged(from, charsRemoved, charsAdded); } -inline QSizeF promoted_documentSize() const { return this->documentSize(); } -inline void promoted_draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) { this->draw(painter, context); } -inline void promoted_drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::drawInlineObject(painter, rect, object, posInDocument, format); } -inline QTextCharFormat promoted_format(int pos) { return QAbstractTextDocumentLayout::format(pos); } -inline int promoted_formatIndex(int pos) { return QAbstractTextDocumentLayout::formatIndex(pos); } -inline QRectF promoted_frameBoundingRect(QTextFrame* frame) const { return this->frameBoundingRect(frame); } -inline int promoted_hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const { return this->hitTest(point, accuracy); } -inline int promoted_pageCount() const { return this->pageCount(); } -inline void promoted_positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::positionInlineObject(item, posInDocument, format); } -inline void promoted_resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) { QAbstractTextDocumentLayout::resizeInlineObject(item, posInDocument, format); } -}; - -class PythonQtWrapper_QAbstractTextDocumentLayout : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractTextDocumentLayout* new_QAbstractTextDocumentLayout(QTextDocument* doc); -void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } - QString anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; - QRectF blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; - QTextDocument* document(QAbstractTextDocumentLayout* theWrappedObject) const; - void documentChanged(QAbstractTextDocumentLayout* theWrappedObject, int from, int charsRemoved, int charsAdded); - QSizeF documentSize(QAbstractTextDocumentLayout* theWrappedObject) const; - void draw(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); - void drawInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); - QTextCharFormat format(QAbstractTextDocumentLayout* theWrappedObject, int pos); - int formatIndex(QAbstractTextDocumentLayout* theWrappedObject, int pos); - QRectF frameBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, QTextFrame* frame) const; - int hitTest(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& point, Qt::HitTestAccuracy accuracy) const; - int pageCount(QAbstractTextDocumentLayout* theWrappedObject) const; - QPaintDevice* paintDevice(QAbstractTextDocumentLayout* theWrappedObject) const; - void positionInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format); - void registerHandler(QAbstractTextDocumentLayout* theWrappedObject, int objectType, QObject* component); - void resizeInlineObject(QAbstractTextDocumentLayout* theWrappedObject, QTextInlineObject item, int posInDocument, const QTextFormat& format); - void setPaintDevice(QAbstractTextDocumentLayout* theWrappedObject, QPaintDevice* device); -}; - - - - - -class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext -{ -public: - PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__PaintContext(); -QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__PaintContext(const QAbstractTextDocumentLayout::PaintContext& other) { -PythonQtShell_QAbstractTextDocumentLayout__PaintContext* a = new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); -*((QAbstractTextDocumentLayout::PaintContext*)a) = other; -return a; } -void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } -void py_set_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QRectF clip){ theWrappedObject->clip = clip; } -QRectF py_get_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->clip; } -void py_set_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, int cursorPosition){ theWrappedObject->cursorPosition = cursorPosition; } -int py_get_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->cursorPosition; } -void py_set_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } -QPalette py_get_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->palette; } -}; - - - - - -class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection -{ -public: - PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject -{ Q_OBJECT -public: -public slots: -QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selection(); -QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selection(const QAbstractTextDocumentLayout::Selection& other) { -PythonQtShell_QAbstractTextDocumentLayout__Selection* a = new PythonQtShell_QAbstractTextDocumentLayout__Selection(); -*((QAbstractTextDocumentLayout::Selection*)a) = other; -return a; } -void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } -void py_set_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } -QTextCursor py_get_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->cursor; } -void py_set_format(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->format; } -}; - - - - - -class PythonQtShell_QAccessibleEvent : public QAccessibleEvent -{ -public: - PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(NULL) {}; - - ~PythonQtShell_QAccessibleEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessibleEvent : public QObject -{ Q_OBJECT -public: -public slots: -QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } - int child(QAccessibleEvent* theWrappedObject) const; - QObject* object(QAccessibleEvent* theWrappedObject) const; - void setChild(QAccessibleEvent* theWrappedObject, int chld); - QAccessible::Event type(QAccessibleEvent* theWrappedObject) const; - QString py_toString(QAccessibleEvent*); -}; - - - - - -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) {}; - - ~PythonQtShell_QAction(); - -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 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); - 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) {}; - - ~PythonQtShell_QActionGroup(); - -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 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(ColorSpec ) -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(); - int static_QApplication_colorSpec(); - int static_QApplication_cursorFlashTime(); - QDesktopWidget* static_QApplication_desktop(); - 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(); - bool static_QApplication_isEffectEnabled(Qt::UIEffect arg__1); - int static_QApplication_keyboardInputInterval(); - bool notify(QApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); - QPalette static_QApplication_palette(); - QPalette static_QApplication_palette(const QWidget* arg__1); - void static_QApplication_setActiveWindow(QWidget* act); - void static_QApplication_setColorSpec(int arg__1); - void static_QApplication_setCursorFlashTime(int 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_setKeyboardInputInterval(int arg__1); - void static_QApplication_setPalette(const QPalette& arg__1, const char* className = 0); - 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; - QWidget* static_QApplication_topLevelAt(const QPoint& p); - QWidget* static_QApplication_topLevelAt(int x, int y); - QList static_QApplication_topLevelWidgets(); - int static_QApplication_wheelScrollLines(); - QWidget* static_QApplication_widgetAt(const QPoint& p); - QWidget* static_QApplication_widgetAt(int x, int y); - QIcon static_QApplication_windowIcon(); -}; - - - - - -class PythonQtWrapper_QBackingStore : public QObject -{ Q_OBJECT -public: -public slots: -QBackingStore* new_QBackingStore(QWindow* window); -void delete_QBackingStore(QBackingStore* obj) { delete obj; } - void beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1); - void endPaint(QBackingStore* theWrappedObject); - void flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window = 0, const QPoint& offset = QPoint()); - bool hasStaticContents(QBackingStore* theWrappedObject) const; - QPaintDevice* paintDevice(QBackingStore* theWrappedObject); - void resize(QBackingStore* theWrappedObject, const QSize& size); - bool scroll(QBackingStore* theWrappedObject, const QRegion& area, int dx, int dy); - void setStaticContents(QBackingStore* theWrappedObject, const QRegion& region); - QSize size(QBackingStore* theWrappedObject) const; - QRegion staticContents(QBackingStore* theWrappedObject) const; - QWindow* window(QBackingStore* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QBoxLayout : public QBoxLayout -{ -public: - PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = 0):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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, PythonQtPassOwnershipToCPP layout, int stretch = 0); - void addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem); - void addSpacing(QBoxLayout* theWrappedObject, int size); - void addStretch(QBoxLayout* theWrappedObject, int stretch = 0); - void addStrut(QBoxLayout* theWrappedObject, int arg__1); - void addWidget(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int stretch = 0, Qt::Alignment alignment = 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 insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2); - void insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch = 0); - void insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem); - void insertSpacing(QBoxLayout* theWrappedObject, int index, int size); - void insertStretch(QBoxLayout* theWrappedObject, int index, int stretch = 0); - void insertWidget(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch = 0, Qt::Alignment alignment = 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) {}; - - ~PythonQtShell_QButtonGroup(); - -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, int id = -1); - 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_QCalendarWidget : public QCalendarWidget -{ -public: - PythonQtShell_QCalendarWidget(QWidget* parent = 0):QCalendarWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCalendarWidget(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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(); } -inline void promoted_updateCell(const QDate& date) { QCalendarWidget::updateCell(date); } -inline void promoted_updateCells() { QCalendarWidget::updateCells(); } -}; - -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; - void updateCell(QCalendarWidget* theWrappedObject, const QDate& date); - void updateCells(QCalendarWidget* theWrappedObject); - QCalendarWidget::VerticalHeaderFormat verticalHeaderFormat(QCalendarWidget* theWrappedObject) const; - QTextCharFormat weekdayTextFormat(QCalendarWidget* theWrappedObject, Qt::DayOfWeek dayOfWeek) const; - int yearShown(QCalendarWidget* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QCheckBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionButton* option) const { QCheckBox::initStyleOption(option); } -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; - void initStyleOption(QCheckBox* theWrappedObject, QStyleOptionButton* option) const; - bool isTristate(QCheckBox* theWrappedObject) const; - QSize minimumSizeHint(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 PythonQtWrapper_QClipboard : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Mode ) -enum Mode{ - Clipboard = QClipboard::Clipboard, Selection = QClipboard::Selection, FindBuffer = QClipboard::FindBuffer, LastMode = QClipboard::LastMode}; -public slots: - void clear(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard); - QImage image(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - const QMimeData* mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - bool ownsClipboard(QClipboard* theWrappedObject) const; - bool ownsFindBuffer(QClipboard* theWrappedObject) const; - bool ownsSelection(QClipboard* theWrappedObject) const; - QPixmap pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - void setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - void setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode = QClipboard::Clipboard); - void setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - void setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); - bool supportsFindBuffer(QClipboard* theWrappedObject) const; - bool supportsSelection(QClipboard* theWrappedObject) const; - QString text(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; - QString text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode = QClipboard::Clipboard) const; -}; - - - - - -class PythonQtWrapper_QCloseEvent : public QObject -{ Q_OBJECT -public: -public slots: -QCloseEvent* new_QCloseEvent(); -void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } -}; - - - - - -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) {}; - - ~PythonQtShell_QColorDialog(); - -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 int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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); } -inline void promoted_open() { QColorDialog::open(); } -}; - -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; - QColor 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, const QString& title = QString(), 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, QColor color); - void setOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option, bool on = true); - void setOptions(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOptions options); - void static_QColorDialog_setStandardColor(int index, QColor color); - void setVisible(QColorDialog* theWrappedObject, bool visible); - QColor static_QColorDialog_standardColor(int index); - bool testOption(QColorDialog* theWrappedObject, QColorDialog::ColorDialogOption option) const; -}; - - - - - -class PythonQtShell_QColumnView : public QColumnView -{ -public: - PythonQtShell_QColumnView(QWidget* parent = 0):QColumnView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColumnView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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 void promoted_initializeColumn(QAbstractItemView* column) const { QColumnView::initializeColumn(column); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QColumnView::isIndexHidden(index); } -inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QColumnView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } -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; - void initializeColumn(QColumnView* theWrappedObject, QAbstractItemView* column) const; - bool isIndexHidden(QColumnView* theWrappedObject, const QModelIndex& index) const; - QModelIndex moveCursor(QColumnView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers); - 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) {}; - - ~PythonQtShell_QComboBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionComboBox* option) const { QComboBox::initStyleOption(option); } -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 = static_cast(Qt::MatchExactly|Qt::MatchCaseSensitive)) const; - int findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags = static_cast(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 initStyleOption(QComboBox* theWrappedObject, QStyleOptionComboBox* option) 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) {}; - - ~PythonQtShell_QCommandLinkButton(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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 QSize promoted_minimumSizeHint() const { return QCommandLinkButton::minimumSizeHint(); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QCommandLinkButton::paintEvent(arg__1); } -inline QSize promoted_sizeHint() const { return QCommandLinkButton::sizeHint(); } -}; - -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; - QSize minimumSizeHint(QCommandLinkButton* theWrappedObject) const; - void paintEvent(QCommandLinkButton* theWrappedObject, QPaintEvent* arg__1); - void setDescription(QCommandLinkButton* theWrappedObject, const QString& description); - QSize sizeHint(QCommandLinkButton* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QCommonStyle : public QCommonStyle -{ -public: - PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(NULL) {}; - - ~PythonQtShell_QCommonStyle(); - -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 = 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* w = 0) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = 0, const QWidget* widget = 0) 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 QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = 0, const QWidget* widget = 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 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_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = 0, const QWidget* widget = 0) const { return QCommonStyle::layoutSpacing(control1, control2, orientation, option, widget); } -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 QIcon promoted_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = 0, const QWidget* widget = 0) const { return QCommonStyle::standardIcon(standardIcon, opt, 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 layoutSpacing(QCommonStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = 0, const QWidget* widget = 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; - QIcon standardIcon(QCommonStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* opt = 0, 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); -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp deleted file mode 100644 index c2390159a..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ /dev/null @@ -1,17805 +0,0 @@ -#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 - -PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCompleter::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCompleter::childEvent(arg__1); -} -void PythonQtShell_QCompleter::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QCompleter::customEvent(arg__1); -} -bool PythonQtShell_QCompleter::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCompleter::event(arg__1); -} -bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&o0, (void*)&e1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCompleter::eventFilter(o0, e1); -} -QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pathFromIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QCompleter::pathFromIndex(index0); -} -QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("splitPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue; - void* args[2] = {NULL, (void*)&path0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QCompleter::splitPath(path0); -} -void PythonQtShell_QCompleter::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP c) -{ - ( theWrappedObject->setModel(c)); -} - -void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) -{ - ( theWrappedObject->setModelSorting(sorting)); -} - -void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) -{ - ( theWrappedObject->setPopup(popup)); -} - -void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const -{ - return ( ((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)); -} - - - -PythonQtShell_QContextMenuEvent::~PythonQtShell_QContextMenuEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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()); -} - - - -PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDataWidgetMapper::childEvent(arg__1); -} -void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDataWidgetMapper::customEvent(arg__1); -} -bool PythonQtShell_QDataWidgetMapper::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDataWidgetMapper::event(arg__1); -} -bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDataWidgetMapper::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setCurrentIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDataWidgetMapper::setCurrentIndex(index0); -} -void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::setCurrentIndex(QDataWidgetMapper* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QDataWidgetMapper*)theWrappedObject)->promoted_setCurrentIndex(index)); -} - -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()); -} - - - -PythonQtShell_QDateEdit::~PythonQtShell_QDateEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDateEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::actionEvent(arg__1); -} -void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::changeEvent(event0); -} -void PythonQtShell_QDateEdit::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::childEvent(arg__1); -} -void PythonQtShell_QDateEdit::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::clear(); -} -void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::closeEvent(event0); -} -void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::contextMenuEvent(event0); -} -void PythonQtShell_QDateEdit::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dateTimeFromText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::dateTimeFromText(text0); -} -int PythonQtShell_QDateEdit::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::devType(); -} -void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QDateEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::dropEvent(arg__1); -} -void PythonQtShell_QDateEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::enterEvent(arg__1); -} -bool PythonQtShell_QDateEdit::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::event(event0); -} -bool PythonQtShell_QDateEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDateEdit::fixup(QString& input0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::fixup(input0); -} -void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::focusInEvent(event0); -} -bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::focusOutEvent(event0); -} -bool PythonQtShell_QDateEdit::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::hasHeightForWidth(); -} -int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::heightForWidth(arg__1); -} -void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::hideEvent(event0); -} -void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::initPainter(painter0); -} -void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::keyPressEvent(event0); -} -void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::keyReleaseEvent(event0); -} -void PythonQtShell_QDateEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::leaveEvent(arg__1); -} -int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::metric(arg__1); -} -void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::mouseMoveEvent(event0); -} -void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::mousePressEvent(event0); -} -void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::mouseReleaseEvent(event0); -} -void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::moveEvent(arg__1); -} -bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::paintEngine(); -} -void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::redirected(offset0); -} -void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::resizeEvent(event0); -} -QPainter* PythonQtShell_QDateEdit::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::sharedPainter(); -} -void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::showEvent(event0); -} -void PythonQtShell_QDateEdit::stepBy(int steps0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::stepEnabled(); -} -void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("textFromDateTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QDateEdit::textFromDateTime(dt0); -} -void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::timerEvent(event0); -} -QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateEdit::validate(input0, pos1); -} -void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateEdit::wheelEvent(event0); -} -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); } - - - -PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::actionEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::changeEvent(event0); -} -void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::childEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::clear(); -} -void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::closeEvent(event0); -} -void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::contextMenuEvent(event0); -} -void PythonQtShell_QDateTimeEdit::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dateTimeFromText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::dateTimeFromText(text0); -} -int PythonQtShell_QDateTimeEdit::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::devType(); -} -void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::dropEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::enterEvent(arg__1); -} -bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::event(event0); -} -bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::fixup(input0); -} -void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::focusInEvent(event0); -} -bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::focusOutEvent(event0); -} -bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::hasHeightForWidth(); -} -int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::heightForWidth(arg__1); -} -void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::hideEvent(event0); -} -void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::initPainter(painter0); -} -void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::keyPressEvent(event0); -} -void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::keyReleaseEvent(event0); -} -void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::leaveEvent(arg__1); -} -int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::metric(arg__1); -} -void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::mouseMoveEvent(event0); -} -void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::mousePressEvent(event0); -} -void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::mouseReleaseEvent(event0); -} -void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::moveEvent(arg__1); -} -bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::paintEngine(); -} -void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::redirected(offset0); -} -void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::resizeEvent(event0); -} -QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::sharedPainter(); -} -void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::showEvent(event0); -} -void PythonQtShell_QDateTimeEdit::stepBy(int steps0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::stepEnabled(); -} -void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("textFromDateTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::textFromDateTime(dt0); -} -void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::timerEvent(event0); -} -QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDateTimeEdit::validate(input0, pos1); -} -void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDateTimeEdit::wheelEvent(event0); -} -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); } - -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(val, parserType, 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::initStyleOption(QDateTimeEdit* theWrappedObject, QStyleOptionSpinBox* option) const -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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)); -} - - - -PythonQtShell_QDesktopServices::~PythonQtShell_QDesktopServices() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() -{ -return new PythonQtShell_QDesktopServices(); } - -bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) -{ - return (QDesktopServices::openUrl(url)); -} - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) -{ - (QDesktopServices::setUrlHandler(scheme, receiver, method)); -} - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) -{ - (QDesktopServices::unsetUrlHandler(scheme)); -} - - - -PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::actionEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::changeEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::childEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::closeEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::customEvent(arg__1); -} -int PythonQtShell_QDesktopWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::devType(); -} -void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::dropEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::enterEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::event(arg__1); -} -bool PythonQtShell_QDesktopWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::focusOutEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::hasHeightForWidth(); -} -int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::heightForWidth(arg__1); -} -void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::hideEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::initPainter(painter0); -} -void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::leaveEvent(arg__1); -} -int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::metric(arg__1); -} -QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::minimumSizeHint(); -} -void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::moveEvent(arg__1); -} -bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::paintEngine(); -} -void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::redirected(offset0); -} -void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::resizeEvent(e0); -} -QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::sharedPainter(); -} -void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::showEvent(arg__1); -} -QSize PythonQtShell_QDesktopWidget::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDesktopWidget::sizeHint(); -} -void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::tabletEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDesktopWidget::timerEvent(arg__1); -} -void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QDial::~PythonQtShell_QDial() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDial::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::actionEvent(arg__1); -} -void PythonQtShell_QDial::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::changeEvent(e0); -} -void PythonQtShell_QDial::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::childEvent(arg__1); -} -void PythonQtShell_QDial::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::closeEvent(arg__1); -} -void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::contextMenuEvent(arg__1); -} -void PythonQtShell_QDial::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::customEvent(arg__1); -} -int PythonQtShell_QDial::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::devType(); -} -void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::dragEnterEvent(arg__1); -} -void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::dragMoveEvent(arg__1); -} -void PythonQtShell_QDial::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::dropEvent(arg__1); -} -void PythonQtShell_QDial::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::enterEvent(arg__1); -} -bool PythonQtShell_QDial::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::event(e0); -} -bool PythonQtShell_QDial::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDial::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::focusInEvent(arg__1); -} -bool PythonQtShell_QDial::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::focusNextPrevChild(next0); -} -void PythonQtShell_QDial::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::focusOutEvent(arg__1); -} -bool PythonQtShell_QDial::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::hasHeightForWidth(); -} -int PythonQtShell_QDial::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::heightForWidth(arg__1); -} -void PythonQtShell_QDial::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::hideEvent(arg__1); -} -void PythonQtShell_QDial::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::initPainter(painter0); -} -void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::inputMethodQuery(arg__1); -} -void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::keyPressEvent(ev0); -} -void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDial::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::leaveEvent(arg__1); -} -int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::metric(arg__1); -} -void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::mouseMoveEvent(me0); -} -void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::mousePressEvent(me0); -} -void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::mouseReleaseEvent(me0); -} -void PythonQtShell_QDial::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::moveEvent(arg__1); -} -bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDial::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::paintEngine(); -} -void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pe0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::paintEvent(pe0); -} -QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::redirected(offset0); -} -void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&re0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::resizeEvent(re0); -} -QPainter* PythonQtShell_QDial::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDial::sharedPainter(); -} -void PythonQtShell_QDial::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::showEvent(arg__1); -} -void PythonQtShell_QDial::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::tabletEvent(arg__1); -} -void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::timerEvent(arg__1); -} -void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDial::wheelEvent(e0); -} -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)); -} - -void PythonQtWrapper_QDial::initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - -void PythonQtWrapper_QDial::sliderChange(QDial* theWrappedObject, int change) -{ - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_sliderChange(change)); -} - -bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const -{ - return ( theWrappedObject->wrapping()); -} - - - -PythonQtShell_QDialog::~PythonQtShell_QDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::accept(); -} -void PythonQtShell_QDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::actionEvent(arg__1); -} -void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::changeEvent(arg__1); -} -void PythonQtShell_QDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::childEvent(arg__1); -} -void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::closeEvent(arg__1); -} -void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::customEvent(arg__1); -} -int PythonQtShell_QDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::devType(); -} -void PythonQtShell_QDialog::done(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::done(arg__1); -} -void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::dropEvent(arg__1); -} -void PythonQtShell_QDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::enterEvent(arg__1); -} -bool PythonQtShell_QDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::event(arg__1); -} -bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::exec(); -} -void PythonQtShell_QDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::hasHeightForWidth(); -} -int PythonQtShell_QDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::heightForWidth(arg__1); -} -void PythonQtShell_QDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::hideEvent(arg__1); -} -void PythonQtShell_QDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::initPainter(painter0); -} -void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::leaveEvent(arg__1); -} -int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::metric(arg__1); -} -void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::moveEvent(arg__1); -} -bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::open(); -} -QPaintEngine* PythonQtShell_QDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::paintEngine(); -} -void PythonQtShell_QDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::redirected(offset0); -} -void PythonQtShell_QDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::reject(); -} -void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialog::sharedPainter(); -} -void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::showEvent(arg__1); -} -void PythonQtShell_QDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::tabletEvent(arg__1); -} -void PythonQtShell_QDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::timerEvent(arg__1); -} -void PythonQtShell_QDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialog::wheelEvent(arg__1); -} -QDialog* PythonQtWrapper_QDialog::new_QDialog(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QDialog(parent, f); } - -void PythonQtWrapper_QDialog::accept(QDialog* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_accept()); -} - -void PythonQtWrapper_QDialog::adjustPosition(QDialog* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_adjustPosition(arg__1)); -} - -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)); -} - -void PythonQtWrapper_QDialog::done(QDialog* theWrappedObject, int arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_done(arg__1)); -} - -bool PythonQtWrapper_QDialog::eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -int PythonQtWrapper_QDialog::exec(QDialog* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_exec()); -} - -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::open(QDialog* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_open()); -} - -void PythonQtWrapper_QDialog::reject(QDialog* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_reject()); -} - -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()); -} - - - -PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::actionEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::changeEvent(event0); -} -void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::childEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::closeEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::customEvent(arg__1); -} -int PythonQtShell_QDialogButtonBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::devType(); -} -void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::dropEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::enterEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::event(event0); -} -bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::focusInEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::focusNextPrevChild(next0); -} -void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::focusOutEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::hasHeightForWidth(); -} -int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::heightForWidth(arg__1); -} -void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::hideEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::initPainter(painter0); -} -void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::keyPressEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::leaveEvent(arg__1); -} -int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::metric(arg__1); -} -QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::minimumSizeHint(); -} -void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::mousePressEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::moveEvent(arg__1); -} -bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::paintEngine(); -} -void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::redirected(offset0); -} -void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::sharedPainter(); -} -void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::showEvent(arg__1); -} -QSize PythonQtShell_QDialogButtonBox::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDialogButtonBox::sizeHint(); -} -void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::tabletEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDialogButtonBox::timerEvent(arg__1); -} -void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToPython 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()); -} - - - -PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::buddy(index0); -} -bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::canFetchMore(parent0); -} -void PythonQtShell_QDirModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::childEvent(arg__1); -} -int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::columnCount(parent0); -} -void PythonQtShell_QDirModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::customEvent(arg__1); -} -QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::data(index0, role1); -} -bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QDirModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::event(arg__1); -} -bool PythonQtShell_QDirModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::flags(index0); -} -bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::hasChildren(index0); -} -QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::index(row0, column1, parent2); -} -bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::itemData(index0); -} -QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::mimeData(indexes0); -} -QStringList PythonQtShell_QDirModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::mimeTypes(); -} -bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::parent(child0); -} -bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QDirModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::revert(); -} -QHash PythonQtShell_QDirModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::roleNames(); -} -int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::rowCount(parent0); -} -bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QDirModel::setData(index0, value1, role2); -} -bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QDirModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::setItemData(index0, roles1); -} -QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::sort(column0, order1); -} -QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::span(index0); -} -bool PythonQtShell_QDirModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::submit(); -} -Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDirModel::supportedDropActions(); -} -void PythonQtShell_QDirModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDirModel::timerEvent(arg__1); -} -QDirModel* PythonQtWrapper_QDirModel::new_QDirModel(QObject* parent) -{ -return new PythonQtShell_QDirModel(parent); } - -QDirModel* PythonQtWrapper_QDirModel::new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent) -{ -return new PythonQtShell_QDirModel(nameFilters, filters, sort, parent); } - -int PythonQtWrapper_QDirModel::columnCount(QDirModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -QVariant PythonQtWrapper_QDirModel::data(QDirModel* theWrappedObject, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_data(index, role)); -} - -bool PythonQtWrapper_QDirModel::dropMimeData(QDirModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -QIcon PythonQtWrapper_QDirModel::fileIcon(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileIcon(index)); -} - -QFileInfo PythonQtWrapper_QDirModel::fileInfo(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileInfo(index)); -} - -QString PythonQtWrapper_QDirModel::fileName(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileName(index)); -} - -QString PythonQtWrapper_QDirModel::filePath(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->filePath(index)); -} - -QDir::Filters PythonQtWrapper_QDirModel::filter(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->filter()); -} - -Qt::ItemFlags PythonQtWrapper_QDirModel::flags(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_flags(index)); -} - -bool PythonQtWrapper_QDirModel::hasChildren(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_hasChildren(index)); -} - -QVariant PythonQtWrapper_QDirModel::headerData(QDirModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QFileIconProvider* PythonQtWrapper_QDirModel::iconProvider(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->iconProvider()); -} - -QModelIndex PythonQtWrapper_QDirModel::index(QDirModel* theWrappedObject, const QString& path, int column) const -{ - return ( theWrappedObject->index(path, column)); -} - -QModelIndex PythonQtWrapper_QDirModel::index(QDirModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - -bool PythonQtWrapper_QDirModel::isDir(QDirModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isDir(index)); -} - -bool PythonQtWrapper_QDirModel::isReadOnly(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -bool PythonQtWrapper_QDirModel::lazyChildCount(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->lazyChildCount()); -} - -QMimeData* PythonQtWrapper_QDirModel::mimeData(QDirModel* theWrappedObject, const QList& indexes) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_mimeData(indexes)); -} - -QStringList PythonQtWrapper_QDirModel::mimeTypes(QDirModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_mimeTypes()); -} - -QModelIndex PythonQtWrapper_QDirModel::mkdir(QDirModel* theWrappedObject, const QModelIndex& parent, const QString& name) -{ - return ( theWrappedObject->mkdir(parent, name)); -} - -QStringList PythonQtWrapper_QDirModel::nameFilters(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->nameFilters()); -} - -QModelIndex PythonQtWrapper_QDirModel::parent(QDirModel* theWrappedObject, const QModelIndex& child) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_parent(child)); -} - -bool PythonQtWrapper_QDirModel::remove(QDirModel* theWrappedObject, const QModelIndex& index) -{ - return ( theWrappedObject->remove(index)); -} - -bool PythonQtWrapper_QDirModel::resolveSymlinks(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->resolveSymlinks()); -} - -bool PythonQtWrapper_QDirModel::rmdir(QDirModel* theWrappedObject, const QModelIndex& index) -{ - return ( theWrappedObject->rmdir(index)); -} - -int PythonQtWrapper_QDirModel::rowCount(QDirModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -bool PythonQtWrapper_QDirModel::setData(QDirModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -void PythonQtWrapper_QDirModel::setFilter(QDirModel* theWrappedObject, QDir::Filters filters) -{ - ( theWrappedObject->setFilter(filters)); -} - -void PythonQtWrapper_QDirModel::setIconProvider(QDirModel* theWrappedObject, QFileIconProvider* provider) -{ - ( theWrappedObject->setIconProvider(provider)); -} - -void PythonQtWrapper_QDirModel::setLazyChildCount(QDirModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setLazyChildCount(enable)); -} - -void PythonQtWrapper_QDirModel::setNameFilters(QDirModel* theWrappedObject, const QStringList& filters) -{ - ( theWrappedObject->setNameFilters(filters)); -} - -void PythonQtWrapper_QDirModel::setReadOnly(QDirModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setReadOnly(enable)); -} - -void PythonQtWrapper_QDirModel::setResolveSymlinks(QDirModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setResolveSymlinks(enable)); -} - -void PythonQtWrapper_QDirModel::setSorting(QDirModel* theWrappedObject, QDir::SortFlags sort) -{ - ( theWrappedObject->setSorting(sort)); -} - -void PythonQtWrapper_QDirModel::sort(QDirModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_sort(column, order)); -} - -QDir::SortFlags PythonQtWrapper_QDirModel::sorting(QDirModel* theWrappedObject) const -{ - return ( theWrappedObject->sorting()); -} - -Qt::DropActions PythonQtWrapper_QDirModel::supportedDropActions(QDirModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->promoted_supportedDropActions()); -} - - - -PythonQtShell_QDockWidget::~PythonQtShell_QDockWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDockWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::actionEvent(arg__1); -} -void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::changeEvent(event0); -} -void PythonQtShell_QDockWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::childEvent(arg__1); -} -void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::closeEvent(event0); -} -void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QDockWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::customEvent(arg__1); -} -int PythonQtShell_QDockWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::devType(); -} -void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QDockWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::dropEvent(arg__1); -} -void PythonQtShell_QDockWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::enterEvent(arg__1); -} -bool PythonQtShell_QDockWidget::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::event(event0); -} -bool PythonQtShell_QDockWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::focusOutEvent(arg__1); -} -bool PythonQtShell_QDockWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::hasHeightForWidth(); -} -int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::heightForWidth(arg__1); -} -void PythonQtShell_QDockWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::hideEvent(arg__1); -} -void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::initPainter(painter0); -} -void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QDockWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::leaveEvent(arg__1); -} -int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::metric(arg__1); -} -QSize PythonQtShell_QDockWidget::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::minimumSizeHint(); -} -void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::moveEvent(arg__1); -} -bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::paintEngine(); -} -void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::redirected(offset0); -} -void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QDockWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::sharedPainter(); -} -void PythonQtShell_QDockWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::showEvent(arg__1); -} -QSize PythonQtShell_QDockWidget::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDockWidget::sizeHint(); -} -void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::tabletEvent(arg__1); -} -void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDockWidget::timerEvent(arg__1); -} -void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -void PythonQtWrapper_QDockWidget::initStyleOption(QDockWidget* theWrappedObject, QStyleOptionDockWidget* option) const -{ - ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - - - -PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::actionEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::changeEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::childEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::clear(); -} -void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::closeEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::contextMenuEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::customEvent(arg__1); -} -int PythonQtShell_QDoubleSpinBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::devType(); -} -void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::dropEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::enterEvent(arg__1); -} -bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::event(event0); -} -bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::fixup(str0); -} -void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::focusInEvent(event0); -} -bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::focusNextPrevChild(next0); -} -void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::focusOutEvent(event0); -} -bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::hasHeightForWidth(); -} -int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::hideEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::initPainter(painter0); -} -void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::keyPressEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::keyReleaseEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::leaveEvent(arg__1); -} -int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::metric(arg__1); -} -void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::mouseMoveEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::mousePressEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::mouseReleaseEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::moveEvent(arg__1); -} -bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::paintEngine(); -} -void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::redirected(offset0); -} -void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::resizeEvent(event0); -} -QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::sharedPainter(); -} -void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::showEvent(event0); -} -void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::stepEnabled(); -} -void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::tabletEvent(arg__1); -} -QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("textFromValue"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "double"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&val0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::textFromValue(val0); -} -void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::timerEvent(event0); -} -QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::validate(input0, pos1); -} -double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("valueFromText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"double" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - double returnValue; - void* args[2] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); - } else { - returnValue = *((double*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleSpinBox::valueFromText(text0); -} -void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleSpinBox::wheelEvent(event0); -} -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)); -} - - - -PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleValidator::childEvent(arg__1); -} -void PythonQtShell_QDoubleValidator::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleValidator::customEvent(arg__1); -} -bool PythonQtShell_QDoubleValidator::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleValidator::event(arg__1); -} -bool PythonQtShell_QDoubleValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDoubleValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleValidator::fixup(arg__1); -} -void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "double" , "double" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleValidator::setRange(bottom0, top1, decimals2); -} -void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDoubleValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 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)); -} - - - -PythonQtShell_QDrag::~PythonQtShell_QDrag() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QDrag::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDrag::childEvent(arg__1); -} -void PythonQtShell_QDrag::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDrag::customEvent(arg__1); -} -bool PythonQtShell_QDrag::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDrag::event(arg__1); -} -bool PythonQtShell_QDrag::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QDrag::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QDrag::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QDrag::timerEvent(arg__1); -} -QDrag* PythonQtWrapper_QDrag::new_QDrag(QObject* dragSource) -{ -return new PythonQtShell_QDrag(dragSource); } - -Qt::DropAction PythonQtWrapper_QDrag::defaultAction(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->defaultAction()); -} - -QPixmap PythonQtWrapper_QDrag::dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const -{ - return ( theWrappedObject->dragCursor(action)); -} - -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, PythonQtPassOwnershipToCPP data) -{ - ( theWrappedObject->setMimeData(data)); -} - -void PythonQtWrapper_QDrag::setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1) -{ - ( theWrappedObject->setPixmap(arg__1)); -} - -QObject* PythonQtWrapper_QDrag::source(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - -Qt::DropActions PythonQtWrapper_QDrag::supportedActions(QDrag* theWrappedObject) const -{ - return ( theWrappedObject->supportedActions()); -} - -QObject* 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(); } - - - -PythonQtShell_QDragMoveEvent::~PythonQtShell_QDragMoveEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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)); -} - - - -PythonQtShell_QDropEvent::~PythonQtShell_QDropEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QDropEvent* PythonQtWrapper_QDropEvent::new_QDropEvent(const QPointF& 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()); -} - -QPoint PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QDropEvent::posF(QDropEvent* theWrappedObject) const -{ - return &( theWrappedObject->posF()); -} - -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)); -} - -QObject* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - - - -PythonQtShell_QEnterEvent::~PythonQtShell_QEnterEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QEnterEvent* PythonQtWrapper_QEnterEvent::new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos) -{ -return new PythonQtShell_QEnterEvent(localPos, windowPos, screenPos); } - -QPoint PythonQtWrapper_QEnterEvent::globalPos(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QEnterEvent::globalX(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -int PythonQtWrapper_QEnterEvent::globalY(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -const QPointF* PythonQtWrapper_QEnterEvent::localPos(QEnterEvent* theWrappedObject) const -{ - return &( theWrappedObject->localPos()); -} - -QPoint PythonQtWrapper_QEnterEvent::pos(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QEnterEvent::screenPos(QEnterEvent* theWrappedObject) const -{ - return &( theWrappedObject->screenPos()); -} - -const QPointF* PythonQtWrapper_QEnterEvent::windowPos(QEnterEvent* theWrappedObject) const -{ - return &( theWrappedObject->windowPos()); -} - -int PythonQtWrapper_QEnterEvent::x(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QEnterEvent::y(QEnterEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QErrorMessage::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::accept(); -} -void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::actionEvent(arg__1); -} -void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::changeEvent(e0); -} -void PythonQtShell_QErrorMessage::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::childEvent(arg__1); -} -void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::closeEvent(arg__1); -} -void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::contextMenuEvent(arg__1); -} -void PythonQtShell_QErrorMessage::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::customEvent(arg__1); -} -int PythonQtShell_QErrorMessage::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::devType(); -} -void PythonQtShell_QErrorMessage::done(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::done(arg__1); -} -void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::dragEnterEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::dragLeaveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::dragMoveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::dropEvent(arg__1); -} -void PythonQtShell_QErrorMessage::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::enterEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::event(arg__1); -} -bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QErrorMessage::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::exec(); -} -void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::focusInEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::focusNextPrevChild(next0); -} -void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::focusOutEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::hasHeightForWidth(); -} -int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::heightForWidth(arg__1); -} -void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::hideEvent(arg__1); -} -void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::initPainter(painter0); -} -void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::inputMethodQuery(arg__1); -} -void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::keyPressEvent(arg__1); -} -void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::keyReleaseEvent(arg__1); -} -void PythonQtShell_QErrorMessage::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::leaveEvent(arg__1); -} -int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::metric(arg__1); -} -void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::mouseMoveEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::mousePressEvent(arg__1); -} -void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::moveEvent(arg__1); -} -bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QErrorMessage::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::open(); -} -QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::paintEngine(); -} -void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::redirected(offset0); -} -void PythonQtShell_QErrorMessage::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::reject(); -} -void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QErrorMessage::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QErrorMessage::sharedPainter(); -} -void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::showEvent(arg__1); -} -void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::tabletEvent(arg__1); -} -void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QErrorMessage::timerEvent(arg__1); -} -void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QExposeEvent::~PythonQtShell_QExposeEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QExposeEvent* PythonQtWrapper_QExposeEvent::new_QExposeEvent(const QRegion& rgn) -{ -return new PythonQtShell_QExposeEvent(rgn); } - -const QRegion* PythonQtWrapper_QExposeEvent::region(QExposeEvent* theWrappedObject) const -{ - return &( theWrappedObject->region()); -} - - - -PythonQtShell_QFileDialog::~PythonQtShell_QFileDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFileDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::accept(); -} -void PythonQtShell_QFileDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::actionEvent(arg__1); -} -void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::changeEvent(e0); -} -void PythonQtShell_QFileDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::childEvent(arg__1); -} -void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::closeEvent(arg__1); -} -void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QFileDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::customEvent(arg__1); -} -int PythonQtShell_QFileDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::devType(); -} -void PythonQtShell_QFileDialog::done(int result0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::done(result0); -} -void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QFileDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::dropEvent(arg__1); -} -void PythonQtShell_QFileDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::enterEvent(arg__1); -} -bool PythonQtShell_QFileDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::event(arg__1); -} -bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QFileDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::exec(); -} -void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QFileDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::hasHeightForWidth(); -} -int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::heightForWidth(arg__1); -} -void PythonQtShell_QFileDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::hideEvent(arg__1); -} -void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::initPainter(painter0); -} -void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFileDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::leaveEvent(arg__1); -} -int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::metric(arg__1); -} -void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::moveEvent(arg__1); -} -bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QFileDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::open(); -} -QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::paintEngine(); -} -void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::redirected(offset0); -} -void PythonQtShell_QFileDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::reject(); -} -void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QFileDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileDialog::sharedPainter(); -} -void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::showEvent(arg__1); -} -void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::tabletEvent(arg__1); -} -void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileDialog::timerEvent(arg__1); -} -void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -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) -{ - ( ((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->promoted_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::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->selectNameFilter(filter)); -} - -QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedFiles()); -} - -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::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()); -} - - - -PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("icon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&type0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFileIconProvider::icon(type0); -} -QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("icon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue; - void* args[2] = {NULL, (void*)&info0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFileIconProvider::icon(info0); -} -QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QFileInfo&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&info0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFileIconProvider::type(info0); -} -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()); -} - -bool PythonQtWrapper_QFileOpenEvent::openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const -{ - return ( theWrappedObject->openFile(file, flags)); -} - -QUrl PythonQtWrapper_QFileOpenEvent::url(QFileOpenEvent* theWrappedObject) const -{ - return ( theWrappedObject->url()); -} - - - -PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::buddy(index0); -} -bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::canFetchMore(parent0); -} -void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::childEvent(arg__1); -} -int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::columnCount(parent0); -} -void PythonQtShell_QFileSystemModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::customEvent(arg__1); -} -QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::data(index0, role1); -} -bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::dropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QFileSystemModel::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::event(event0); -} -bool PythonQtShell_QFileSystemModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::flags(index0); -} -bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::hasChildren(parent0); -} -QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::index(row0, column1, parent2); -} -bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::itemData(index0); -} -QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QList returnValue; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::mimeData(indexes0); -} -QStringList PythonQtShell_QFileSystemModel::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::mimeTypes(); -} -bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::parent(child0); -} -bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::removeRows(row0, count1, parent2); -} -void PythonQtShell_QFileSystemModel::revert() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::revert(); -} -QHash PythonQtShell_QFileSystemModel::roleNames() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::roleNames(); -} -int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::rowCount(parent0); -} -bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::setData(index0, value1, role2); -} -bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setHeaderData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::setHeaderData(section0, orientation1, value2, role3); -} -bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::setItemData(index0, roles1); -} -QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QModelIndex returnValue; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::sibling(row0, column1, idx2); -} -void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::sort(column0, order1); -} -QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::span(index0); -} -bool PythonQtShell_QFileSystemModel::submit() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::submit(); -} -Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFileSystemModel::supportedDropActions(); -} -void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFileSystemModel::timerEvent(event0); -} -QFileSystemModel* PythonQtWrapper_QFileSystemModel::new_QFileSystemModel(QObject* parent) -{ -return new PythonQtShell_QFileSystemModel(parent); } - -bool PythonQtWrapper_QFileSystemModel::canFetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_canFetchMore(parent)); -} - -int PythonQtWrapper_QFileSystemModel::columnCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_columnCount(parent)); -} - -QVariant PythonQtWrapper_QFileSystemModel::data(QFileSystemModel* theWrappedObject, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_data(index, role)); -} - -bool PythonQtWrapper_QFileSystemModel::dropMimeData(QFileSystemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_dropMimeData(data, action, row, column, parent)); -} - -bool PythonQtWrapper_QFileSystemModel::event(QFileSystemModel* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_event(event)); -} - -void PythonQtWrapper_QFileSystemModel::fetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) -{ - ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_fetchMore(parent)); -} - -QIcon PythonQtWrapper_QFileSystemModel::fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileIcon(index)); -} - -QFileInfo PythonQtWrapper_QFileSystemModel::fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileInfo(index)); -} - -QString PythonQtWrapper_QFileSystemModel::fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->fileName(index)); -} - -QString PythonQtWrapper_QFileSystemModel::filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->filePath(index)); -} - -QDir::Filters PythonQtWrapper_QFileSystemModel::filter(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->filter()); -} - -Qt::ItemFlags PythonQtWrapper_QFileSystemModel::flags(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_flags(index)); -} - -bool PythonQtWrapper_QFileSystemModel::hasChildren(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_hasChildren(parent)); -} - -QVariant PythonQtWrapper_QFileSystemModel::headerData(QFileSystemModel* theWrappedObject, int section, Qt::Orientation orientation, int role) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_headerData(section, orientation, role)); -} - -QFileIconProvider* PythonQtWrapper_QFileSystemModel::iconProvider(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->iconProvider()); -} - -QModelIndex PythonQtWrapper_QFileSystemModel::index(QFileSystemModel* theWrappedObject, const QString& path, int column) const -{ - return ( theWrappedObject->index(path, column)); -} - -QModelIndex PythonQtWrapper_QFileSystemModel::index(QFileSystemModel* theWrappedObject, int row, int column, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_index(row, column, parent)); -} - -bool PythonQtWrapper_QFileSystemModel::isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isDir(index)); -} - -bool PythonQtWrapper_QFileSystemModel::isReadOnly(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -QDateTime PythonQtWrapper_QFileSystemModel::lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->lastModified(index)); -} - -QMimeData* PythonQtWrapper_QFileSystemModel::mimeData(QFileSystemModel* theWrappedObject, const QList& indexes) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_mimeData(indexes)); -} - -QStringList PythonQtWrapper_QFileSystemModel::mimeTypes(QFileSystemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_mimeTypes()); -} - -QModelIndex PythonQtWrapper_QFileSystemModel::mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name) -{ - return ( theWrappedObject->mkdir(parent, name)); -} - -QVariant PythonQtWrapper_QFileSystemModel::myComputer(QFileSystemModel* theWrappedObject, int role) const -{ - return ( theWrappedObject->myComputer(role)); -} - -bool PythonQtWrapper_QFileSystemModel::nameFilterDisables(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->nameFilterDisables()); -} - -QStringList PythonQtWrapper_QFileSystemModel::nameFilters(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->nameFilters()); -} - -QModelIndex PythonQtWrapper_QFileSystemModel::parent(QFileSystemModel* theWrappedObject, const QModelIndex& child) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_parent(child)); -} - -QFile::Permissions PythonQtWrapper_QFileSystemModel::permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->permissions(index)); -} - -bool PythonQtWrapper_QFileSystemModel::remove(QFileSystemModel* theWrappedObject, const QModelIndex& index) -{ - return ( theWrappedObject->remove(index)); -} - -bool PythonQtWrapper_QFileSystemModel::resolveSymlinks(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->resolveSymlinks()); -} - -bool PythonQtWrapper_QFileSystemModel::rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index) -{ - return ( theWrappedObject->rmdir(index)); -} - -QDir PythonQtWrapper_QFileSystemModel::rootDirectory(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->rootDirectory()); -} - -QString PythonQtWrapper_QFileSystemModel::rootPath(QFileSystemModel* theWrappedObject) const -{ - return ( theWrappedObject->rootPath()); -} - -int PythonQtWrapper_QFileSystemModel::rowCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_rowCount(parent)); -} - -bool PythonQtWrapper_QFileSystemModel::setData(QFileSystemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role) -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_setData(index, value, role)); -} - -void PythonQtWrapper_QFileSystemModel::setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters) -{ - ( theWrappedObject->setFilter(filters)); -} - -void PythonQtWrapper_QFileSystemModel::setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider) -{ - ( theWrappedObject->setIconProvider(provider)); -} - -void PythonQtWrapper_QFileSystemModel::setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setNameFilterDisables(enable)); -} - -void PythonQtWrapper_QFileSystemModel::setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters) -{ - ( theWrappedObject->setNameFilters(filters)); -} - -void PythonQtWrapper_QFileSystemModel::setReadOnly(QFileSystemModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setReadOnly(enable)); -} - -void PythonQtWrapper_QFileSystemModel::setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setResolveSymlinks(enable)); -} - -QModelIndex PythonQtWrapper_QFileSystemModel::setRootPath(QFileSystemModel* theWrappedObject, const QString& path) -{ - return ( theWrappedObject->setRootPath(path)); -} - -qint64 PythonQtWrapper_QFileSystemModel::size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->size(index)); -} - -void PythonQtWrapper_QFileSystemModel::sort(QFileSystemModel* theWrappedObject, int column, Qt::SortOrder order) -{ - ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_sort(column, order)); -} - -Qt::DropActions PythonQtWrapper_QFileSystemModel::supportedDropActions(QFileSystemModel* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_supportedDropActions()); -} - -void PythonQtWrapper_QFileSystemModel::timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_timerEvent(event)); -} - -QString PythonQtWrapper_QFileSystemModel::type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->type(index)); -} - - - -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()); -} - - - -PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::actionEvent(arg__1); -} -void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::changeEvent(arg__1); -} -void PythonQtShell_QFocusFrame::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::childEvent(arg__1); -} -void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::closeEvent(arg__1); -} -void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::contextMenuEvent(arg__1); -} -void PythonQtShell_QFocusFrame::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::customEvent(arg__1); -} -int PythonQtShell_QFocusFrame::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::devType(); -} -void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::dragEnterEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::dragMoveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::dropEvent(arg__1); -} -void PythonQtShell_QFocusFrame::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::enterEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::event(e0); -} -bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::focusInEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::focusNextPrevChild(next0); -} -void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::focusOutEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::hasHeightForWidth(); -} -int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::heightForWidth(arg__1); -} -void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::hideEvent(arg__1); -} -void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::initPainter(painter0); -} -void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::inputMethodQuery(arg__1); -} -void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::keyPressEvent(arg__1); -} -void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFocusFrame::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::leaveEvent(arg__1); -} -int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::metric(arg__1); -} -QSize PythonQtShell_QFocusFrame::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::minimumSizeHint(); -} -void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::mousePressEvent(arg__1); -} -void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::moveEvent(arg__1); -} -bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::paintEngine(); -} -void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::redirected(offset0); -} -void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QFocusFrame::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::sharedPainter(); -} -void PythonQtShell_QFocusFrame::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::showEvent(arg__1); -} -QSize PythonQtShell_QFocusFrame::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFocusFrame::sizeHint(); -} -void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::tabletEvent(arg__1); -} -void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFocusFrame::timerEvent(arg__1); -} -void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const -{ - ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - - - -PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::actionEvent(arg__1); -} -void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::changeEvent(e0); -} -void PythonQtShell_QFontComboBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::childEvent(arg__1); -} -void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::closeEvent(arg__1); -} -void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::contextMenuEvent(e0); -} -void PythonQtShell_QFontComboBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::customEvent(arg__1); -} -int PythonQtShell_QFontComboBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::devType(); -} -void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::dropEvent(arg__1); -} -void PythonQtShell_QFontComboBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::enterEvent(arg__1); -} -bool PythonQtShell_QFontComboBox::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::event(e0); -} -bool PythonQtShell_QFontComboBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::focusInEvent(e0); -} -bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::focusNextPrevChild(next0); -} -void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::focusOutEvent(e0); -} -bool PythonQtShell_QFontComboBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::hasHeightForWidth(); -} -int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::heightForWidth(arg__1); -} -void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::hideEvent(e0); -} -void PythonQtShell_QFontComboBox::hidePopup() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hidePopup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::hidePopup(); -} -void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::initPainter(painter0); -} -void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::keyPressEvent(e0); -} -void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::keyReleaseEvent(e0); -} -void PythonQtShell_QFontComboBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::leaveEvent(arg__1); -} -int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::metric(arg__1); -} -void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::mousePressEvent(e0); -} -void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::mouseReleaseEvent(e0); -} -void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::moveEvent(arg__1); -} -bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::paintEngine(); -} -void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::redirected(offset0); -} -void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::resizeEvent(e0); -} -QPainter* PythonQtShell_QFontComboBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontComboBox::sharedPainter(); -} -void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::showEvent(e0); -} -void PythonQtShell_QFontComboBox::showPopup() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showPopup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::showPopup(); -} -void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::tabletEvent(arg__1); -} -void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::timerEvent(arg__1); -} -void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontComboBox::wheelEvent(e0); -} -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()); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.h deleted file mode 100644 index f0b5d2e7a..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ /dev/null @@ -1,2051 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QCompleter : public QCompleter -{ -public: - PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = 0):QCompleter(model, parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(QObject* parent = 0):QCompleter(parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = 0):QCompleter(completions, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCompleter(); - -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(CompletionMode ModelSorting ) -enum CompletionMode{ - PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; -enum ModelSorting{ - UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; -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, PythonQtPassOwnershipToCPP c); - void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); - void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); - void setWidget(QCompleter* theWrappedObject, QWidget* widget); - QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; - 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) {}; - - ~PythonQtShell_QContextMenuEvent(); - - - 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) {}; - - ~PythonQtShell_QDataWidgetMapper(); - -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 setCurrentIndex(QDataWidgetMapper* theWrappedObject, int index); - 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) {}; - - ~PythonQtShell_QDateEdit(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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) {}; - - ~PythonQtShell_QDateTimeEdit(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionSpinBox* option) const { QDateTimeEdit::initStyleOption(option); } -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); -QDateTimeEdit* new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, 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 initStyleOption(QDateTimeEdit* theWrappedObject, QStyleOptionSpinBox* option) const; - 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) {}; - - ~PythonQtShell_QDesktopServices(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDesktopServices : public QObject -{ Q_OBJECT -public: -public slots: -QDesktopServices* new_QDesktopServices(); -void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } - bool static_QDesktopServices_openUrl(const QUrl& url); - void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); - void static_QDesktopServices_unsetUrlHandler(const QString& scheme); -}; - - - - - -class PythonQtShell_QDesktopWidget : public QDesktopWidget -{ -public: - PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; - - ~PythonQtShell_QDesktopWidget(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual QPainter* sharedPainter() const; -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) {}; - - ~PythonQtShell_QDial(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* pe); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* re); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionSlider* option) const { QDial::initStyleOption(option); } -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); } -inline void promoted_sliderChange(int change) { QDial::sliderChange((QAbstractSlider::SliderChange)change); } -}; - -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); - void initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const; - 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; - void sliderChange(QDial* theWrappedObject, int change); - 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) {}; - - ~PythonQtShell_QDialog(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_adjustPosition(QWidget* arg__1) { QDialog::adjustPosition(arg__1); } -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 int promoted_exec() { return QDialog::exec(); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QDialog::keyPressEvent(arg__1); } -inline void promoted_open() { QDialog::open(); } -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 accept(QDialog* theWrappedObject); - void adjustPosition(QDialog* theWrappedObject, QWidget* arg__1); - void closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1); - void contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1); - void done(QDialog* theWrappedObject, int arg__1); - bool eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2); - int exec(QDialog* theWrappedObject); - bool isSizeGripEnabled(QDialog* theWrappedObject) const; - void keyPressEvent(QDialog* theWrappedObject, QKeyEvent* arg__1); - QSize minimumSizeHint(QDialog* theWrappedObject) const; - void open(QDialog* theWrappedObject); - void reject(QDialog* theWrappedObject); - 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) {}; - - ~PythonQtShell_QDialogButtonBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToPython 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_QDirModel : public QDirModel -{ -public: - PythonQtShell_QDirModel(QObject* parent = 0):QDirModel(parent),_wrapper(NULL) {}; - PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = 0):QDirModel(nameFilters, filters, sort, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDirModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual 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& index = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QDirModel : public QDirModel -{ public: -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QDirModel::columnCount(parent); } -inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QDirModel::data(index, role); } -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QDirModel::dropMimeData(data, action, row, column, parent); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QDirModel::flags(index); } -inline bool promoted_hasChildren(const QModelIndex& index = QModelIndex()) const { return QDirModel::hasChildren(index); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QDirModel::headerData(section, orientation, role); } -inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QDirModel::index(row, column, parent); } -inline QMimeData* promoted_mimeData(const QList& indexes) const { return QDirModel::mimeData(indexes); } -inline QStringList promoted_mimeTypes() const { return QDirModel::mimeTypes(); } -inline QModelIndex promoted_parent(const QModelIndex& child) const { return QDirModel::parent(child); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QDirModel::rowCount(parent); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QDirModel::setData(index, value, role); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QDirModel::sort(column, order); } -inline Qt::DropActions promoted_supportedDropActions() const { return QDirModel::supportedDropActions(); } -}; - -class PythonQtWrapper_QDirModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Roles ) -enum Roles{ - FileIconRole = QDirModel::FileIconRole, FilePathRole = QDirModel::FilePathRole, FileNameRole = QDirModel::FileNameRole}; -public slots: -QDirModel* new_QDirModel(QObject* parent = 0); -QDirModel* new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = 0); -void delete_QDirModel(QDirModel* obj) { delete obj; } - int columnCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QVariant data(QDirModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; - bool dropMimeData(QDirModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - QIcon fileIcon(QDirModel* theWrappedObject, const QModelIndex& index) const; - QFileInfo fileInfo(QDirModel* theWrappedObject, const QModelIndex& index) const; - QString fileName(QDirModel* theWrappedObject, const QModelIndex& index) const; - QString filePath(QDirModel* theWrappedObject, const QModelIndex& index) const; - QDir::Filters filter(QDirModel* theWrappedObject) const; - Qt::ItemFlags flags(QDirModel* theWrappedObject, const QModelIndex& index) const; - bool hasChildren(QDirModel* theWrappedObject, const QModelIndex& index = QModelIndex()) const; - QVariant headerData(QDirModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - QFileIconProvider* iconProvider(QDirModel* theWrappedObject) const; - QModelIndex index(QDirModel* theWrappedObject, const QString& path, int column = 0) const; - QModelIndex index(QDirModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; - bool isDir(QDirModel* theWrappedObject, const QModelIndex& index) const; - bool isReadOnly(QDirModel* theWrappedObject) const; - bool lazyChildCount(QDirModel* theWrappedObject) const; - QMimeData* mimeData(QDirModel* theWrappedObject, const QList& indexes) const; - QStringList mimeTypes(QDirModel* theWrappedObject) const; - QModelIndex mkdir(QDirModel* theWrappedObject, const QModelIndex& parent, const QString& name); - QStringList nameFilters(QDirModel* theWrappedObject) const; - QModelIndex parent(QDirModel* theWrappedObject, const QModelIndex& child) const; - bool remove(QDirModel* theWrappedObject, const QModelIndex& index); - bool resolveSymlinks(QDirModel* theWrappedObject) const; - bool rmdir(QDirModel* theWrappedObject, const QModelIndex& index); - int rowCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - bool setData(QDirModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - void setFilter(QDirModel* theWrappedObject, QDir::Filters filters); - void setIconProvider(QDirModel* theWrappedObject, QFileIconProvider* provider); - void setLazyChildCount(QDirModel* theWrappedObject, bool enable); - void setNameFilters(QDirModel* theWrappedObject, const QStringList& filters); - void setReadOnly(QDirModel* theWrappedObject, bool enable); - void setResolveSymlinks(QDirModel* theWrappedObject, bool enable); - void setSorting(QDirModel* theWrappedObject, QDir::SortFlags sort); - void sort(QDirModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - QDir::SortFlags sorting(QDirModel* theWrappedObject) const; - Qt::DropActions supportedDropActions(QDirModel* 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) {}; - - ~PythonQtShell_QDockWidget(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionDockWidget* option) const { QDockWidget::initStyleOption(option); } -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; - void initStyleOption(QDockWidget* theWrappedObject, QStyleOptionDockWidget* option) 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) {}; - - ~PythonQtShell_QDoubleSpinBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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 = 0):QDoubleValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = 0):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDoubleValidator(); - -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: -public slots: -QDoubleValidator* new_QDoubleValidator(QObject* parent = 0); -QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = 0); -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(QObject* dragSource):QDrag(dragSource),_wrapper(NULL) {}; - - ~PythonQtShell_QDrag(); - -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(QObject* dragSource); -void delete_QDrag(QDrag* obj) { delete obj; } - Qt::DropAction defaultAction(QDrag* theWrappedObject) const; - QPixmap dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const; - 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, PythonQtPassOwnershipToCPP data); - void setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1); - QObject* source(QDrag* theWrappedObject) const; - Qt::DropActions supportedActions(QDrag* theWrappedObject) const; - QObject* 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) {}; - - ~PythonQtShell_QDragMoveEvent(); - - - 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_QDropEvent : public QDropEvent -{ -public: - PythonQtShell_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; - - ~PythonQtShell_QDropEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QDropEvent : public QObject -{ Q_OBJECT -public: -public slots: -QDropEvent* new_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); -void delete_QDropEvent(QDropEvent* obj) { delete obj; } - void 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; - QPoint pos(QDropEvent* theWrappedObject) const; - const QPointF* posF(QDropEvent* theWrappedObject) const; - Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const; - Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const; - void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action); - QObject* source(QDropEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QEnterEvent : public QEnterEvent -{ -public: - PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(NULL) {}; - - ~PythonQtShell_QEnterEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QEnterEvent : public QObject -{ Q_OBJECT -public: -public slots: -QEnterEvent* new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos); -void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } - QPoint globalPos(QEnterEvent* theWrappedObject) const; - int globalX(QEnterEvent* theWrappedObject) const; - int globalY(QEnterEvent* theWrappedObject) const; - const QPointF* localPos(QEnterEvent* theWrappedObject) const; - QPoint pos(QEnterEvent* theWrappedObject) const; - const QPointF* screenPos(QEnterEvent* theWrappedObject) const; - const QPointF* windowPos(QEnterEvent* theWrappedObject) const; - int x(QEnterEvent* theWrappedObject) const; - int y(QEnterEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QErrorMessage : public QErrorMessage -{ -public: - PythonQtShell_QErrorMessage(QWidget* parent = 0):QErrorMessage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QErrorMessage(); - -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 int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_QExposeEvent : public QExposeEvent -{ -public: - PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(NULL) {}; - - ~PythonQtShell_QExposeEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QExposeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QExposeEvent* new_QExposeEvent(const QRegion& rgn); -void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } - const QRegion* region(QExposeEvent* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QFileDialog(); - -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 int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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); } -inline void promoted_open() { QFileDialog::open(); } -}; - -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; - 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 selectNameFilter(QFileDialog* theWrappedObject, const QString& filter); - QStringList selectedFiles(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 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) {}; - - ~PythonQtShell_QFileIconProvider(); - -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; - bool openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const; - QUrl url(QFileOpenEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QFileSystemModel : public QFileSystemModel -{ -public: - PythonQtShell_QFileSystemModel(QObject* parent = 0):QFileSystemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileSystemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual 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* event); -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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel -{ public: -inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QFileSystemModel::canFetchMore(parent); } -inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::columnCount(parent); } -inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QFileSystemModel::data(index, role); } -inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QFileSystemModel::dropMimeData(data, action, row, column, parent); } -inline bool promoted_event(QEvent* event) { return QFileSystemModel::event(event); } -inline void promoted_fetchMore(const QModelIndex& parent) { QFileSystemModel::fetchMore(parent); } -inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QFileSystemModel::flags(index); } -inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::hasChildren(parent); } -inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QFileSystemModel::headerData(section, orientation, role); } -inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::index(row, column, parent); } -inline QMimeData* promoted_mimeData(const QList& indexes) const { return QFileSystemModel::mimeData(indexes); } -inline QStringList promoted_mimeTypes() const { return QFileSystemModel::mimeTypes(); } -inline QModelIndex promoted_parent(const QModelIndex& child) const { return QFileSystemModel::parent(child); } -inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::rowCount(parent); } -inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QFileSystemModel::setData(index, value, role); } -inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QFileSystemModel::sort(column, order); } -inline Qt::DropActions promoted_supportedDropActions() const { return QFileSystemModel::supportedDropActions(); } -inline void promoted_timerEvent(QTimerEvent* event) { QFileSystemModel::timerEvent(event); } -}; - -class PythonQtWrapper_QFileSystemModel : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Roles ) -enum Roles{ - FileIconRole = QFileSystemModel::FileIconRole, FilePathRole = QFileSystemModel::FilePathRole, FileNameRole = QFileSystemModel::FileNameRole, FilePermissions = QFileSystemModel::FilePermissions}; -public slots: -QFileSystemModel* new_QFileSystemModel(QObject* parent = 0); -void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } - bool canFetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const; - int columnCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QVariant data(QFileSystemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const; - bool dropMimeData(QFileSystemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); - bool event(QFileSystemModel* theWrappedObject, QEvent* event); - void fetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent); - QIcon fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - QFileInfo fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - QString fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - QString filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - QDir::Filters filter(QFileSystemModel* theWrappedObject) const; - Qt::ItemFlags flags(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - bool hasChildren(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - QVariant headerData(QFileSystemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - QFileIconProvider* iconProvider(QFileSystemModel* theWrappedObject) const; - QModelIndex index(QFileSystemModel* theWrappedObject, const QString& path, int column = 0) const; - QModelIndex index(QFileSystemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const; - bool isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - bool isReadOnly(QFileSystemModel* theWrappedObject) const; - QDateTime lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - QMimeData* mimeData(QFileSystemModel* theWrappedObject, const QList& indexes) const; - QStringList mimeTypes(QFileSystemModel* theWrappedObject) const; - QModelIndex mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name); - QVariant myComputer(QFileSystemModel* theWrappedObject, int role = Qt::DisplayRole) const; - bool nameFilterDisables(QFileSystemModel* theWrappedObject) const; - QStringList nameFilters(QFileSystemModel* theWrappedObject) const; - QModelIndex parent(QFileSystemModel* theWrappedObject, const QModelIndex& child) const; - QFile::Permissions permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - bool remove(QFileSystemModel* theWrappedObject, const QModelIndex& index); - bool resolveSymlinks(QFileSystemModel* theWrappedObject) const; - bool rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index); - QDir rootDirectory(QFileSystemModel* theWrappedObject) const; - QString rootPath(QFileSystemModel* theWrappedObject) const; - int rowCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const; - bool setData(QFileSystemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); - void setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters); - void setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider); - void setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable); - void setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters); - void setReadOnly(QFileSystemModel* theWrappedObject, bool enable); - void setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable); - QModelIndex setRootPath(QFileSystemModel* theWrappedObject, const QString& path); - qint64 size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; - void sort(QFileSystemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); - Qt::DropActions supportedDropActions(QFileSystemModel* theWrappedObject) const; - void timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event); - QString type(QFileSystemModel* theWrappedObject, const QModelIndex& index) 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; -}; - - - - - -class PythonQtShell_QFocusFrame : public QFocusFrame -{ -public: - PythonQtShell_QFocusFrame(QWidget* parent = 0):QFocusFrame(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFocusFrame(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOption* option) const { QFocusFrame::initStyleOption(option); } -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 initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const; - 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) {}; - - ~PythonQtShell_QFontComboBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual QPainter* sharedPainter() const; -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; -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp deleted file mode 100644 index 418000a12..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ /dev/null @@ -1,8711 +0,0 @@ -#include "com_trolltech_qt_gui10.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::actionEvent(arg__1); -} -void PythonQtShell_QTextBrowser::backward() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("backward"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::backward(); -} -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::canInsertFromMimeData(source0); -} -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::changeEvent(e0); -} -void PythonQtShell_QTextBrowser::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::childEvent(arg__1); -} -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::closeEvent(arg__1); -} -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::contextMenuEvent(e0); -} -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::createMimeDataFromSelection(); -} -void PythonQtShell_QTextBrowser::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::customEvent(arg__1); -} -int PythonQtShell_QTextBrowser::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::devType(); -} -void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::doSetTextCursor(cursor0); -} -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::dragEnterEvent(e0); -} -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::dragLeaveEvent(e0); -} -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::dragMoveEvent(e0); -} -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::dropEvent(e0); -} -void PythonQtShell_QTextBrowser::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::enterEvent(arg__1); -} -bool PythonQtShell_QTextBrowser::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::event(e0); -} -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::focusInEvent(e0); -} -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::focusNextPrevChild(next0); -} -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::focusOutEvent(ev0); -} -void PythonQtShell_QTextBrowser::forward() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("forward"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::forward(); -} -bool PythonQtShell_QTextBrowser::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::hasHeightForWidth(); -} -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::heightForWidth(arg__1); -} -void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::hideEvent(arg__1); -} -void PythonQtShell_QTextBrowser::home() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("home"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::home(); -} -void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::initPainter(painter0); -} -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::inputMethodQuery(property0); -} -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::insertFromMimeData(source0); -} -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::keyPressEvent(ev0); -} -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::keyReleaseEvent(e0); -} -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::leaveEvent(arg__1); -} -QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::loadResource(type0, name1); -} -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::metric(arg__1); -} -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::mouseDoubleClickEvent(e0); -} -void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::mouseMoveEvent(ev0); -} -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::mousePressEvent(ev0); -} -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::mouseReleaseEvent(ev0); -} -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::moveEvent(arg__1); -} -bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::paintEngine(); -} -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::redirected(offset0); -} -void PythonQtShell_QTextBrowser::reload() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reload"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::reload(); -} -void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::resizeEvent(e0); -} -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::setSource(name0); -} -void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTextBrowser::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::sharedPainter(); -} -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::showEvent(arg__1); -} -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::tabletEvent(arg__1); -} -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::timerEvent(e0); -} -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::viewportEvent(arg__1); -} -QSize PythonQtShell_QTextBrowser::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextBrowser::viewportSizeHint(); -} -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextBrowser::wheelEvent(e0); -} -QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) -{ -return new PythonQtShell_QTextBrowser(parent); } - -void PythonQtWrapper_QTextBrowser::backward(QTextBrowser* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_backward()); -} - -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)); -} - -void PythonQtWrapper_QTextBrowser::forward(QTextBrowser* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_forward()); -} - -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)); -} - -void PythonQtWrapper_QTextBrowser::home(QTextBrowser* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_home()); -} - -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)); -} - -void PythonQtWrapper_QTextBrowser::reload(QTextBrowser* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_reload()); -} - -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)); -} - -void PythonQtWrapper_QTextBrowser::setSource(QTextBrowser* theWrappedObject, const QUrl& name) -{ - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_setSource(name)); -} - -QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - - - -PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() -{ -return new PythonQtShell_QTextCharFormat(); } - -QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextCharFormat(fmt); } - -QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->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()); -} - -QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontHintingPreference()); -} - -bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontItalic()); -} - -bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontKerning()); -} - -qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontLetterSpacing()); -} - -QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontLetterSpacingType()); -} - -bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontOverline()); -} - -qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontPointSize()); -} - -int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStretch()); -} - -bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStrikeOut()); -} - -QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStyleHint()); -} - -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::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) -{ - ( theWrappedObject->setFontHintingPreference(hintingPreference)); -} - -void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) -{ - ( theWrappedObject->setFontItalic(italic)); -} - -void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setFontKerning(enable)); -} - -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontLetterSpacing(spacing)); -} - -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) -{ - ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); -} - -void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) -{ - ( theWrappedObject->setFontOverline(overline)); -} - -void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) -{ - ( theWrappedObject->setFontPointSize(size)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStretch(QTextCharFormat* theWrappedObject, int factor) -{ - ( theWrappedObject->setFontStretch(factor)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) -{ - ( theWrappedObject->setFontStrikeOut(strikeOut)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) -{ - ( theWrappedObject->setFontStyleHint(hint, strategy)); -} - -void PythonQtWrapper_QTextCharFormat::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()); -} - - - -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()); -} - -bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->keepPositionOnInsert()); -} - -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()); -} - -int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->positionInBlock()); -} - -void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->removeSelectedText()); -} - -void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) -{ - ( theWrappedObject->select(selection)); -} - -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::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) -{ - ( theWrappedObject->setKeepPositionOnInsert(b)); -} - -void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->setPosition(pos, mode)); -} - -void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) -{ - ( theWrappedObject->setVerticalMovementX(x)); -} - -void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) -{ - ( theWrappedObject->setVisualNavigation(b)); -} - -void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) -{ - ( theWrappedObject->swap(other)); -} - -int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->verticalMovementX()); -} - -bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->visualNavigation()); -} - - - -PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextDocument::childEvent(arg__1); -} -void PythonQtShell_QTextDocument::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextDocument::clear(); -} -QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue; - void* args[2] = {NULL, (void*)&f0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTextDocument::createObject(f0); -} -void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextDocument::customEvent(arg__1); -} -bool PythonQtShell_QTextDocument::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextDocument::event(arg__1); -} -bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextDocument::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QTextDocument::loadResource(type0, name1); -} -void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) -{ - ( theWrappedObject->clearUndoRedoStacks(historyToClear)); -} - -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const -{ - return ( theWrappedObject->clone(parent)); -} - -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); -} - -Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultCursorMoveStyle()); -} - -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultFont()); -} - -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultStyleSheet()); -} - -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextOption()); -} - -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, QPagedPaintDevice* 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::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setDefaultCursorMoveStyle(style)); -} - -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 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)); -} - - - -PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::actionEvent(arg__1); -} -bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::canInsertFromMimeData(source0); -} -void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::changeEvent(e0); -} -void PythonQtShell_QTextEdit::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::childEvent(arg__1); -} -void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::closeEvent(arg__1); -} -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::contextMenuEvent(e0); -} -QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::createMimeDataFromSelection(); -} -void PythonQtShell_QTextEdit::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::customEvent(arg__1); -} -int PythonQtShell_QTextEdit::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::devType(); -} -void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::doSetTextCursor(cursor0); -} -void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::dragEnterEvent(e0); -} -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::dragLeaveEvent(e0); -} -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::dragMoveEvent(e0); -} -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::dropEvent(e0); -} -void PythonQtShell_QTextEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::enterEvent(arg__1); -} -bool PythonQtShell_QTextEdit::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::event(e0); -} -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::focusInEvent(e0); -} -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::focusOutEvent(e0); -} -bool PythonQtShell_QTextEdit::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::hasHeightForWidth(); -} -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::heightForWidth(arg__1); -} -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::hideEvent(arg__1); -} -void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::initPainter(painter0); -} -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::inputMethodQuery(property0); -} -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("insertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::insertFromMimeData(source0); -} -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::keyPressEvent(e0); -} -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::keyReleaseEvent(e0); -} -void PythonQtShell_QTextEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::leaveEvent(arg__1); -} -QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QTextEdit::loadResource(type0, name1); -} -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::metric(arg__1); -} -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::mouseDoubleClickEvent(e0); -} -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::mouseMoveEvent(e0); -} -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::mousePressEvent(e0); -} -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::mouseReleaseEvent(e0); -} -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::moveEvent(arg__1); -} -bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::paintEngine(); -} -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::redirected(offset0); -} -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::resizeEvent(e0); -} -void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTextEdit::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::sharedPainter(); -} -void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::showEvent(arg__1); -} -void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::tabletEvent(arg__1); -} -void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::timerEvent(e0); -} -bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::viewportEvent(arg__1); -} -QSize PythonQtShell_QTextEdit::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextEdit::viewportSizeHint(); -} -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextEdit::wheelEvent(e0); -} -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()); -} - -void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); -} - -QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -void PythonQtWrapper_QTextEdit::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, QPagedPaintDevice* 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()); -} - - - -PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() -{ -return new PythonQtShell_QTextEdit__ExtraSelection(); } - - - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() -{ -return new QTextFragment(); } - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) -{ -return new QTextFragment(o); } - -QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); -} - -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const -{ - return ( theWrappedObject->contains(position)); -} - -QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -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()); -} - - - -PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextFrame::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextFrame::childEvent(arg__1); -} -void PythonQtShell_QTextFrame::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextFrame::customEvent(arg__1); -} -bool PythonQtShell_QTextFrame::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextFrame::event(arg__1); -} -bool PythonQtShell_QTextFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() -{ -return new PythonQtShell_QTextFrameFormat(); } - -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextFrameFormat(fmt); } - -qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const -{ - 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()); -} - - - -PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() -{ -return new PythonQtShell_QTextImageFormat(); } - -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) -{ -return new PythonQtShell_QTextImageFormat(format); } - -qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const -{ - 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()); -} - - - -PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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()); -} - - - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() -{ -return new QTextLayout(); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) -{ -return new QTextLayout(text); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) -{ -return new QTextLayout(text, font, paintdevice); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) -{ -return new QTextLayout(b); } - -QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->additionalFormats()); -} - -void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->beginLayout()); -} - -QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->cacheEnabled()); -} - -void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearAdditionalFormats()); -} - -void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearLayout()); -} - -QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) -{ - return ( theWrappedObject->createLine()); -} - -Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->cursorMoveStyle()); -} - -void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const -{ - ( theWrappedObject->draw(p, pos, selections, clip)); -} - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const -{ - ( theWrappedObject->drawCursor(p, pos, cursorPosition)); -} - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const -{ - ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); -} - -void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->endLayout()); -} - -QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const -{ - return ( theWrappedObject->isValidCursorPosition(pos)); -} - -int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->leftCursorPosition(oldPos)); -} - -QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const -{ - return ( theWrappedObject->lineAt(i)); -} - -int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); -} - -QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const -{ - return ( theWrappedObject->lineForTextPosition(pos)); -} - -qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->nextCursorPosition(oldPos, mode)); -} - -QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->preeditAreaPosition()); -} - -QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->preeditAreaText()); -} - -int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->previousCursorPosition(oldPos, mode)); -} - -int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->rightCursorPosition(oldPos)); -} - -void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) -{ - ( theWrappedObject->setAdditionalFormats(overrides)); -} - -void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCacheEnabled(enable)); -} - -void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setCursorMoveStyle(style)); -} - -void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) -{ - ( theWrappedObject->setFont(f)); -} - -void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setPosition(p)); -} - -void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) -{ - ( theWrappedObject->setPreeditArea(position, text)); -} - -void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) -{ - ( theWrappedObject->setRawFont(rawFont)); -} - -void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) -{ - ( theWrappedObject->setText(string)); -} - -void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) -{ - ( theWrappedObject->setTextOption(option)); -} - -QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const -{ - return &( theWrappedObject->textOption()); -} - - - -PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() -{ -return new PythonQtShell_QTextLayout__FormatRange(); } - - - -QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() -{ -return new QTextLine(); } - -qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const -{ - return ( theWrappedObject->cursorToX(cursorPos, edge)); -} - -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const -{ - ( theWrappedObject->draw(p, point, selection)); -} - -QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->horizontalAdvance()); -} - -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leading()); -} - -bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leadingIncluded()); -} - -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextRect()); -} - -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextWidth()); -} - -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) -{ - ( theWrappedObject->setLeadingIncluded(included)); -} - -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLineWidth(width)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) -{ - ( theWrappedObject->setNumColumns(columns)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) -{ - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); -} - -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); -} - -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textLength()); -} - -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textStart()); -} - -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const -{ - return ( theWrappedObject->xToCursor(x, arg__2)); -} - -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QTextList::~PythonQtShell_QTextList() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("blockFormatChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextList::blockFormatChanged(block0); -} -void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("blockInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextList::blockInserted(block0); -} -void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("blockRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextList::blockRemoved(block0); -} -void PythonQtShell_QTextList::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextList::childEvent(arg__1); -} -void PythonQtShell_QTextList::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextList::customEvent(arg__1); -} -bool PythonQtShell_QTextList::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextList::event(arg__1); -} -bool PythonQtShell_QTextList::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextList::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextList::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() -{ -return new PythonQtShell_QTextListFormat(); } - -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextListFormat(fmt); } - -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->indent()); -} - -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->numberPrefix()); -} - -QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->numberSuffix()); -} - -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) -{ - ( theWrappedObject->setIndent(indent)); -} - -void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) -{ - ( theWrappedObject->setNumberPrefix(numberPrefix)); -} - -void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) -{ - ( theWrappedObject->setNumberSuffix(numberSuffix)); -} - -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) -{ - ( theWrappedObject->setStyle(style)); -} - -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - - - -PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextObject::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextObject::childEvent(arg__1); -} -void PythonQtShell_QTextObject::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextObject::customEvent(arg__1); -} -bool PythonQtShell_QTextObject::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextObject::event(arg__1); -} -bool PythonQtShell_QTextObject::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextObject::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextObject::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextObject::timerEvent(arg__1); -} -QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) -{ -return new PythonQtShell_QTextObject(doc); } - -QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); -} - -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); -} - -void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) -{ - ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); -} - - - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() -{ -return new QTextOption(); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) -{ -return new QTextOption(alignment); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) -{ -return new QTextOption(o); } - -Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) -{ - ( theWrappedObject->setTabArray(tabStops)); -} - -void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) -{ - ( theWrappedObject->setTabStop(tabStop)); -} - -void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) -{ - ( theWrappedObject->setTabs(tabStops)); -} - -void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) -{ - ( theWrappedObject->setTextDirection(aDirection)); -} - -void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) -{ - ( theWrappedObject->setUseDesignMetrics(b)); -} - -void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) -{ - ( theWrappedObject->setWrapMode(wrap)); -} - -QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabArray()); -} - -qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabStop()); -} - -QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabs()); -} - -Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->useDesignMetrics()); -} - -QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->wrapMode()); -} - - - -PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() -{ -return new PythonQtShell_QTextOption__Tab(); } - -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) -{ -return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } - -bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const -{ - return ( (*theWrappedObject)== other); -} - - - -PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextTable::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextTable::childEvent(arg__1); -} -void PythonQtShell_QTextTable::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTextTable::customEvent(arg__1); -} -bool PythonQtShell_QTextTable::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextTable::event(arg__1); -} -bool PythonQtShell_QTextTable::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTextTable::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTextTable::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() -{ -return new PythonQtShell_QTextTableCellFormat(); } - -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableCellFormat(fmt); } - -qreal PythonQtWrapper_QTextTableCellFormat::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()); -} - - - -PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() -{ -return new PythonQtShell_QTextTableFormat(); } - -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableFormat(fmt); } - -Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const -{ - 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)); -} - - - -PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) -{ -return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } - -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) -{ -return new PythonQtShell_QTileRules(rule); } - - - -PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::actionEvent(arg__1); -} -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::changeEvent(event0); -} -void PythonQtShell_QTimeEdit::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::childEvent(arg__1); -} -void PythonQtShell_QTimeEdit::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::clear(); -} -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::closeEvent(event0); -} -void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::contextMenuEvent(event0); -} -void PythonQtShell_QTimeEdit::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::customEvent(arg__1); -} -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dateTimeFromText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue; - void* args[2] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::dateTimeFromText(text0); -} -int PythonQtShell_QTimeEdit::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::devType(); -} -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::dragLeaveEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::dragMoveEvent(arg__1); -} -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::dropEvent(arg__1); -} -void PythonQtShell_QTimeEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::enterEvent(arg__1); -} -bool PythonQtShell_QTimeEdit::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::event(event0); -} -bool PythonQtShell_QTimeEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTimeEdit::fixup(QString& input0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::fixup(input0); -} -void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::focusInEvent(event0); -} -bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::focusOutEvent(event0); -} -bool PythonQtShell_QTimeEdit::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::hasHeightForWidth(); -} -int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::heightForWidth(arg__1); -} -void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::hideEvent(event0); -} -void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::initPainter(painter0); -} -void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::keyPressEvent(event0); -} -void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::keyReleaseEvent(event0); -} -void PythonQtShell_QTimeEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::leaveEvent(arg__1); -} -int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::metric(arg__1); -} -void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::mouseMoveEvent(event0); -} -void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::mousePressEvent(event0); -} -void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::mouseReleaseEvent(event0); -} -void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::moveEvent(arg__1); -} -bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::paintEngine(); -} -void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::redirected(offset0); -} -void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::resizeEvent(event0); -} -QPainter* PythonQtShell_QTimeEdit::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::sharedPainter(); -} -void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::showEvent(event0); -} -void PythonQtShell_QTimeEdit::stepBy(int steps0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::stepEnabled(); -} -void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::tabletEvent(arg__1); -} -QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("textFromDateTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue; - void* args[2] = {NULL, (void*)&dt0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::textFromDateTime(dt0); -} -void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::timerEvent(event0); -} -QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTimeEdit::validate(input0, pos1); -} -void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTimeEdit::wheelEvent(event0); -} -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); } - - - -PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::actionEvent(event0); -} -void PythonQtShell_QToolBar::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::changeEvent(event0); -} -void PythonQtShell_QToolBar::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::childEvent(arg__1); -} -void PythonQtShell_QToolBar::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::closeEvent(arg__1); -} -void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolBar::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::customEvent(arg__1); -} -int PythonQtShell_QToolBar::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::devType(); -} -void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolBar::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::dropEvent(arg__1); -} -void PythonQtShell_QToolBar::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::enterEvent(arg__1); -} -bool PythonQtShell_QToolBar::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::event(event0); -} -bool PythonQtShell_QToolBar::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::focusInEvent(arg__1); -} -bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::focusNextPrevChild(next0); -} -void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::focusOutEvent(arg__1); -} -bool PythonQtShell_QToolBar::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::hasHeightForWidth(); -} -int PythonQtShell_QToolBar::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::heightForWidth(arg__1); -} -void PythonQtShell_QToolBar::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::hideEvent(arg__1); -} -void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::initPainter(painter0); -} -void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::keyPressEvent(arg__1); -} -void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::keyReleaseEvent(arg__1); -} -void PythonQtShell_QToolBar::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::leaveEvent(arg__1); -} -int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::metric(arg__1); -} -QSize PythonQtShell_QToolBar::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::minimumSizeHint(); -} -void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::mouseMoveEvent(arg__1); -} -void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::mousePressEvent(arg__1); -} -void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolBar::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::moveEvent(arg__1); -} -bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QToolBar::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::paintEngine(); -} -void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::redirected(offset0); -} -void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QToolBar::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::sharedPainter(); -} -void PythonQtShell_QToolBar::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::showEvent(arg__1); -} -QSize PythonQtShell_QToolBar::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBar::sizeHint(); -} -void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::tabletEvent(arg__1); -} -void PythonQtShell_QToolBar::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBar::timerEvent(arg__1); -} -void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::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()); -} - -void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); -} - -QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) -{ - return ( theWrappedObject->insertWidget(before, widget)); -} - -bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const -{ - return ( theWrappedObject->isAreaAllowed(area)); -} - -bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloatable()); -} - -bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloating()); -} - -bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QToolBar::paintEvent(QToolBar* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_paintEvent(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()); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.h deleted file mode 100644 index b821abd3f..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ /dev/null @@ -1,1746 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QTextBrowser : public QTextBrowser -{ -public: - PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextBrowser(); - -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 doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void home(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reload(); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setSource(const QUrl& name); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -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; } - void backward(QTextBrowser* theWrappedObject); - 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); - void forward(QTextBrowser* theWrappedObject); - int forwardHistoryCount(QTextBrowser* theWrappedObject) const; - QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; - QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; - void home(QTextBrowser* theWrappedObject); - 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); - void reload(QTextBrowser* theWrappedObject); - QStringList searchPaths(QTextBrowser* theWrappedObject) const; - void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); - void setOpenLinks(QTextBrowser* theWrappedObject, bool open); - void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); - void setSource(QTextBrowser* theWrappedObject, const QUrl& name); - 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) {}; - - ~PythonQtShell_QTextCharFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextCharFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(UnderlineStyle VerticalAlignment ) -enum UnderlineStyle{ - NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; -enum VerticalAlignment{ - AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline}; -public slots: -QTextCharFormat* new_QTextCharFormat(); -QTextCharFormat* new_QTextCharFormat(const QTextFormat& fmt); -QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { -PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); -*((QTextCharFormat*)a) = other; -return a; } -void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } - QString anchorHref(QTextCharFormat* theWrappedObject) const; - QStringList anchorNames(QTextCharFormat* theWrappedObject) const; - QFont font(QTextCharFormat* theWrappedObject) const; - QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; - QString fontFamily(QTextCharFormat* theWrappedObject) const; - bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; - QFont::HintingPreference fontHintingPreference(QTextCharFormat* theWrappedObject) const; - bool fontItalic(QTextCharFormat* theWrappedObject) const; - bool fontKerning(QTextCharFormat* theWrappedObject) const; - qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; - QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const; - bool fontOverline(QTextCharFormat* theWrappedObject) const; - qreal fontPointSize(QTextCharFormat* theWrappedObject) const; - int fontStretch(QTextCharFormat* theWrappedObject) const; - bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; - QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; - 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 setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference); - void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); - void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); - void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); - void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType); - void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); - void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); - void setFontStretch(QTextCharFormat* theWrappedObject, int factor); - void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); - void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); - void 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 PythonQtWrapper_QTextCursor : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MoveMode MoveOperation SelectionType ) -enum MoveMode{ - MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; -enum MoveOperation{ - NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; -enum SelectionType{ - WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; -public slots: -QTextCursor* new_QTextCursor(); -QTextCursor* new_QTextCursor(QTextDocument* document); -QTextCursor* new_QTextCursor(QTextFrame* frame); -QTextCursor* new_QTextCursor(const QTextBlock& block); -QTextCursor* new_QTextCursor(const QTextCursor& cursor); -void delete_QTextCursor(QTextCursor* obj) { delete obj; } - int anchor(QTextCursor* theWrappedObject) const; - bool atBlockEnd(QTextCursor* theWrappedObject) const; - bool atBlockStart(QTextCursor* theWrappedObject) const; - bool atEnd(QTextCursor* theWrappedObject) const; - bool atStart(QTextCursor* theWrappedObject) const; - void beginEditBlock(QTextCursor* theWrappedObject); - QTextBlock block(QTextCursor* theWrappedObject) const; - QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; - QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; - int blockNumber(QTextCursor* theWrappedObject) const; - QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; - void clearSelection(QTextCursor* theWrappedObject); - int columnNumber(QTextCursor* theWrappedObject) const; - QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; - QTextList* currentList(QTextCursor* theWrappedObject) const; - QTextTable* currentTable(QTextCursor* theWrappedObject) const; - void deleteChar(QTextCursor* theWrappedObject); - void deletePreviousChar(QTextCursor* theWrappedObject); - QTextDocument* document(QTextCursor* theWrappedObject) const; - void endEditBlock(QTextCursor* theWrappedObject); - bool hasComplexSelection(QTextCursor* theWrappedObject) const; - bool hasSelection(QTextCursor* theWrappedObject) const; - void insertBlock(QTextCursor* theWrappedObject); - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); - void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); - QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); - void insertHtml(QTextCursor* theWrappedObject, const QString& html); - void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); - void insertImage(QTextCursor* theWrappedObject, const QString& name); - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); - QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); - void insertText(QTextCursor* theWrappedObject, const QString& text); - void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); - bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; - bool isNull(QTextCursor* theWrappedObject) const; - void joinPreviousEditBlock(QTextCursor* theWrappedObject); - bool keepPositionOnInsert(QTextCursor* theWrappedObject) const; - void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); - void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); - bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - int position(QTextCursor* theWrappedObject) const; - int positionInBlock(QTextCursor* theWrappedObject) const; - void removeSelectedText(QTextCursor* theWrappedObject); - void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); - QString selectedText(QTextCursor* theWrappedObject) const; - QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; - int selectionEnd(QTextCursor* theWrappedObject) const; - int selectionStart(QTextCursor* theWrappedObject) const; - void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); - void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); - void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b); - void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - void setVerticalMovementX(QTextCursor* theWrappedObject, int x); - void setVisualNavigation(QTextCursor* theWrappedObject, bool b); - void swap(QTextCursor* theWrappedObject, QTextCursor& other); - int verticalMovementX(QTextCursor* theWrappedObject) const; - bool visualNavigation(QTextCursor* theWrappedObject) const; - bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QTextDocument : public QTextDocument -{ -public: - PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextDocument(); - -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(FindFlag MetaInformation ResourceType Stacks ) -Q_FLAGS(FindFlags ) -enum FindFlag{ - FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; -enum MetaInformation{ - DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; -enum ResourceType{ - HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; -enum Stacks{ - UndoStack = QTextDocument::UndoStack, RedoStack = QTextDocument::RedoStack, UndoAndRedoStacks = QTextDocument::UndoAndRedoStacks}; -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); - void clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear = QTextDocument::UndoAndRedoStacks); - QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const; - QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); - Qt::CursorMoveStyle defaultCursorMoveStyle(QTextDocument* theWrappedObject) const; - 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, QPagedPaintDevice* 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 setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style); - 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 QByteArray& encoding = QByteArray()) 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) {}; - - ~PythonQtShell_QTextEdit(); - -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 doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -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_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } -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; - void doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); - 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, QPagedPaintDevice* 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 PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection -{ -public: - PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(NULL) {}; - - ~PythonQtShell_QTextEdit__ExtraSelection(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject -{ Q_OBJECT -public: -public slots: -QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(); -QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(const QTextEdit::ExtraSelection& other) { -PythonQtShell_QTextEdit__ExtraSelection* a = new PythonQtShell_QTextEdit__ExtraSelection(); -*((QTextEdit::ExtraSelection*)a) = other; -return a; } -void delete_QTextEdit__ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } -void py_set_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } -QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } -void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } -}; - - - - - -class PythonQtWrapper_QTextFragment : public QObject -{ Q_OBJECT -public: -public slots: -QTextFragment* new_QTextFragment(); -QTextFragment* new_QTextFragment(const QTextFragment& o); -void delete_QTextFragment(QTextFragment* obj) { delete obj; } - QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; - int charFormatIndex(QTextFragment* theWrappedObject) const; - bool contains(QTextFragment* theWrappedObject, int position) const; - QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) const; - bool isValid(QTextFragment* theWrappedObject) const; - int length(QTextFragment* theWrappedObject) const; - bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - int position(QTextFragment* theWrappedObject) const; - QString text(QTextFragment* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextFrame : public QTextFrame -{ -public: - PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QTextFrame(); - -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) {}; - - ~PythonQtShell_QTextFrameFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextFrameFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BorderStyle Position ) -enum BorderStyle{ - BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; -enum Position{ - InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; -public slots: -QTextFrameFormat* new_QTextFrameFormat(); -QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); -QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { -PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); -*((QTextFrameFormat*)a) = other; -return a; } -void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } - qreal border(QTextFrameFormat* theWrappedObject) const; - QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; - QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; - qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; - QTextLength height(QTextFrameFormat* theWrappedObject) const; - bool isValid(QTextFrameFormat* theWrappedObject) const; - qreal leftMargin(QTextFrameFormat* theWrappedObject) const; - qreal margin(QTextFrameFormat* theWrappedObject) const; - qreal padding(QTextFrameFormat* theWrappedObject) const; - QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; - QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; - qreal rightMargin(QTextFrameFormat* theWrappedObject) const; - void setBorder(QTextFrameFormat* theWrappedObject, qreal border); - void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); - void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); - void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); - void setHeight(QTextFrameFormat* theWrappedObject, qreal height); - void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); - void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); - void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); - void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); - void setWidth(QTextFrameFormat* theWrappedObject, qreal width); - qreal topMargin(QTextFrameFormat* theWrappedObject) const; - QTextLength width(QTextFrameFormat* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextImageFormat : public QTextImageFormat -{ -public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; - - ~PythonQtShell_QTextImageFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextImageFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextImageFormat* new_QTextImageFormat(); -QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); -QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { -PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); -*((QTextImageFormat*)a) = other; -return a; } -void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } - qreal height(QTextImageFormat* theWrappedObject) const; - bool isValid(QTextImageFormat* theWrappedObject) const; - QString name(QTextImageFormat* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QTextItem(); - - - 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_QTextLayout : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CursorMode ) -enum CursorMode{ - SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; -public slots: -QTextLayout* new_QTextLayout(); -QTextLayout* new_QTextLayout(const QString& text); -QTextLayout* new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice = 0); -QTextLayout* new_QTextLayout(const QTextBlock& b); -void delete_QTextLayout(QTextLayout* obj) { delete obj; } - QList additionalFormats(QTextLayout* theWrappedObject) const; - void beginLayout(QTextLayout* theWrappedObject); - QRectF boundingRect(QTextLayout* theWrappedObject) const; - bool cacheEnabled(QTextLayout* theWrappedObject) const; - void clearAdditionalFormats(QTextLayout* theWrappedObject); - void clearLayout(QTextLayout* theWrappedObject); - QTextLine createLine(QTextLayout* theWrappedObject); - Qt::CursorMoveStyle cursorMoveStyle(QTextLayout* theWrappedObject) const; - void draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections = QVector(), const QRectF& clip = QRectF()) const; - void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const; - void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const; - void endLayout(QTextLayout* theWrappedObject); - QFont font(QTextLayout* theWrappedObject) const; - QList glyphRuns(QTextLayout* theWrappedObject, int from = -1, int length = -1) const; - bool isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const; - int leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; - QTextLine lineAt(QTextLayout* theWrappedObject, int i) const; - int lineCount(QTextLayout* theWrappedObject) const; - QTextLine lineForTextPosition(QTextLayout* theWrappedObject, int pos) const; - qreal maximumWidth(QTextLayout* theWrappedObject) const; - qreal minimumWidth(QTextLayout* theWrappedObject) const; - int nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; - QPointF position(QTextLayout* theWrappedObject) const; - int preeditAreaPosition(QTextLayout* theWrappedObject) const; - QString preeditAreaText(QTextLayout* theWrappedObject) const; - int previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; - int rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; - void setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides); - void setCacheEnabled(QTextLayout* theWrappedObject, bool enable); - void setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style); - void setFlags(QTextLayout* theWrappedObject, int flags); - void setFont(QTextLayout* theWrappedObject, const QFont& f); - void setPosition(QTextLayout* theWrappedObject, const QPointF& p); - void setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text); - void setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont); - void setText(QTextLayout* theWrappedObject, const QString& string); - void setTextOption(QTextLayout* theWrappedObject, const QTextOption& option); - QString text(QTextLayout* theWrappedObject) const; - const QTextOption* textOption(QTextLayout* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange -{ -public: - PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(NULL) {}; - - ~PythonQtShell_QTextLayout__FormatRange(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextLayout__FormatRange : public QObject -{ Q_OBJECT -public: -public slots: -QTextLayout::FormatRange* new_QTextLayout__FormatRange(); -QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::FormatRange& other) { -PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); -*((QTextLayout::FormatRange*)a) = other; -return a; } -void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } -void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } -void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } -int py_get_length(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->length; } -void py_set_start(QTextLayout::FormatRange* theWrappedObject, int start){ theWrappedObject->start = start; } -int py_get_start(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->start; } -}; - - - - - -class PythonQtWrapper_QTextLine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CursorPosition Edge ) -enum CursorPosition{ - CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; -enum Edge{ - Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; -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; - QList glyphRuns(QTextLine* theWrappedObject, int from = -1, int length = -1) const; - qreal height(QTextLine* theWrappedObject) const; - qreal horizontalAdvance(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) {}; - - ~PythonQtShell_QTextList(); - -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) {}; - - ~PythonQtShell_QTextListFormat(); - - - 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 QTextFormat& fmt); -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; - QString numberPrefix(QTextListFormat* theWrappedObject) const; - QString numberSuffix(QTextListFormat* theWrappedObject) const; - void setIndent(QTextListFormat* theWrappedObject, int indent); - void setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix); - void setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix); - 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) {}; - - ~PythonQtShell_QTextObject(); - -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_QTextObject : public QTextObject -{ public: -inline void promoted_setFormat(const QTextFormat& format) { QTextObject::setFormat(format); } -}; - -class PythonQtWrapper_QTextObject : public QObject -{ Q_OBJECT -public: -public slots: -QTextObject* new_QTextObject(QTextDocument* doc); - QTextDocument* document(QTextObject* theWrappedObject) const; - QTextFormat format(QTextObject* theWrappedObject) const; - int formatIndex(QTextObject* theWrappedObject) const; - int objectIndex(QTextObject* theWrappedObject) const; - void setFormat(QTextObject* theWrappedObject, const QTextFormat& format); -}; - - - - - -class PythonQtWrapper_QTextOption : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Flag TabType WrapMode ) -Q_FLAGS(Flags ) -enum Flag{ - ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces}; -enum TabType{ - LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab}; -enum WrapMode{ - NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere}; -Q_DECLARE_FLAGS(Flags, Flag) -public slots: -QTextOption* new_QTextOption(); -QTextOption* new_QTextOption(Qt::Alignment alignment); -QTextOption* new_QTextOption(const QTextOption& o); -void delete_QTextOption(QTextOption* obj) { delete obj; } - Qt::Alignment alignment(QTextOption* theWrappedObject) const; - QTextOption::Flags flags(QTextOption* theWrappedObject) const; - void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); - void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags); - void setTabArray(QTextOption* theWrappedObject, const QList& tabStops); - void setTabStop(QTextOption* theWrappedObject, qreal tabStop); - void setTabs(QTextOption* theWrappedObject, const QList& tabStops); - void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection); - void setUseDesignMetrics(QTextOption* theWrappedObject, bool b); - void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap); - QList tabArray(QTextOption* theWrappedObject) const; - qreal tabStop(QTextOption* theWrappedObject) const; - QList tabs(QTextOption* theWrappedObject) const; - Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const; - bool useDesignMetrics(QTextOption* theWrappedObject) const; - QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextOption__Tab : public QTextOption::Tab -{ -public: - PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(NULL) {}; - PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {}; - - ~PythonQtShell_QTextOption__Tab(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextOption__Tab : public QObject -{ Q_OBJECT -public: -public slots: -QTextOption::Tab* new_QTextOption__Tab(); -QTextOption::Tab* new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); -QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { -PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); -*((QTextOption::Tab*)a) = other; -return a; } -void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } - bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; - bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; -void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } -QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; } -void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; } -qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; } -void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; } -QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; } -}; - - - - - -class PythonQtShell_QTextTable : public QTextTable -{ -public: - PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QTextTable(); - -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) {}; - - ~PythonQtShell_QTextTableCellFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableCellFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextTableCellFormat* new_QTextTableCellFormat(); -QTextTableCellFormat* new_QTextTableCellFormat(const QTextFormat& fmt); -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) {}; - - ~PythonQtShell_QTextTableFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextTableFormat* new_QTextTableFormat(); -QTextTableFormat* new_QTextTableFormat(const QTextFormat& fmt); -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) {}; - - ~PythonQtShell_QTileRules(); - - - 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_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } -Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } -void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } -Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } -}; - - - - - -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) {}; - - ~PythonQtShell_QTimeEdit(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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) {}; - - ~PythonQtShell_QToolBar(); - -virtual void actionEvent(QActionEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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 bool promoted_event(QEvent* event) { return QToolBar::event(event); } -inline void promoted_initStyleOption(QStyleOptionToolBar* option) const { QToolBar::initStyleOption(option); } -inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(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 clear(QToolBar* theWrappedObject); - bool event(QToolBar* theWrappedObject, QEvent* event); - QSize iconSize(QToolBar* theWrappedObject) const; - void initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) 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 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; -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp deleted file mode 100644 index 2641c3188..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ /dev/null @@ -1,18584 +0,0 @@ -#include "com_trolltech_qt_gui11.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 - -PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QToolBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::actionEvent(arg__1); -} -void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::changeEvent(arg__1); -} -void PythonQtShell_QToolBox::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::childEvent(arg__1); -} -void PythonQtShell_QToolBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::closeEvent(arg__1); -} -void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::customEvent(arg__1); -} -int PythonQtShell_QToolBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::devType(); -} -void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::dropEvent(arg__1); -} -void PythonQtShell_QToolBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::enterEvent(arg__1); -} -bool PythonQtShell_QToolBox::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::event(e0); -} -bool PythonQtShell_QToolBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::focusInEvent(arg__1); -} -bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::focusNextPrevChild(next0); -} -void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::focusOutEvent(arg__1); -} -bool PythonQtShell_QToolBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::hasHeightForWidth(); -} -int PythonQtShell_QToolBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::heightForWidth(arg__1); -} -void PythonQtShell_QToolBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::hideEvent(arg__1); -} -void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::initPainter(painter0); -} -void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolBox::itemInserted(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::itemInserted(index0); -} -void PythonQtShell_QToolBox::itemRemoved(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::itemRemoved(index0); -} -void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::keyPressEvent(arg__1); -} -void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QToolBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::leaveEvent(arg__1); -} -int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::metric(arg__1); -} -QSize PythonQtShell_QToolBox::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::minimumSizeHint(); -} -void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::mouseMoveEvent(arg__1); -} -void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::mousePressEvent(arg__1); -} -void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::moveEvent(arg__1); -} -bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::paintEngine(); -} -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::redirected(offset0); -} -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QToolBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolBox::sharedPainter(); -} -void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::showEvent(e0); -} -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::tabletEvent(arg__1); -} -void PythonQtShell_QToolBox::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolBox::timerEvent(arg__1); -} -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addItem(widget, icon, text)); -} - -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) -{ - return ( theWrappedObject->addItem(widget, text)); -} - -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, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, icon, text)); -} - -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, text)); -} - -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->isItemEnabled(index)); -} - -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemIcon(index)); -} - -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); -} - -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); -} - -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemText(index)); -} - -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemToolTip(index)); -} - -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) -{ - ( theWrappedObject->removeItem(index)); -} - -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) -{ - ( theWrappedObject->setItemEnabled(index, enabled)); -} - -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setItemIcon(index, icon)); -} - -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setItemText(index, text)); -} - -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) -{ - ( theWrappedObject->setItemToolTip(index, toolTip)); -} - -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)); -} - - - -PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::actionEvent(arg__1); -} -void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::changeEvent(arg__1); -} -void PythonQtShell_QToolButton::checkStateSet() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::checkStateSet(); -} -void PythonQtShell_QToolButton::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::childEvent(arg__1); -} -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::closeEvent(arg__1); -} -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::contextMenuEvent(arg__1); -} -void PythonQtShell_QToolButton::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::customEvent(arg__1); -} -int PythonQtShell_QToolButton::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::devType(); -} -void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::dragEnterEvent(arg__1); -} -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::dragLeaveEvent(arg__1); -} -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::dragMoveEvent(arg__1); -} -void PythonQtShell_QToolButton::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::dropEvent(arg__1); -} -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::enterEvent(arg__1); -} -bool PythonQtShell_QToolButton::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::event(e0); -} -bool PythonQtShell_QToolButton::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::focusInEvent(e0); -} -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::focusNextPrevChild(next0); -} -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::focusOutEvent(e0); -} -bool PythonQtShell_QToolButton::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::hasHeightForWidth(); -} -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::heightForWidth(arg__1); -} -void PythonQtShell_QToolButton::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::hideEvent(arg__1); -} -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::hitButton(pos0); -} -void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::initPainter(painter0); -} -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::inputMethodQuery(arg__1); -} -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::keyPressEvent(e0); -} -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::keyReleaseEvent(e0); -} -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::leaveEvent(arg__1); -} -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::metric(arg__1); -} -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::mouseMoveEvent(e0); -} -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::mousePressEvent(arg__1); -} -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::moveEvent(arg__1); -} -bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QToolButton::nextCheckState() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::nextCheckState(); -} -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::paintEngine(); -} -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::redirected(offset0); -} -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QToolButton::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QToolButton::sharedPainter(); -} -void PythonQtShell_QToolButton::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::showEvent(arg__1); -} -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::tabletEvent(arg__1); -} -void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QToolButton::timerEvent(arg__1); -} -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - - - -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()); -} - - - -QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() -{ -return new QTouchDevice(); } - -QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->capabilities()); -} - -QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() -{ - return (QTouchDevice::devices()); -} - -QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) -{ - ( theWrappedObject->setCapabilities(caps)); -} - -void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) -{ - ( theWrappedObject->setType(devType)); -} - -QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) -{ -return new PythonQtShell_QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints); } - -QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) -{ - ( theWrappedObject->setDevice(adevice)); -} - -void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) -{ - ( theWrappedObject->setTarget(atarget)); -} - -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::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) -{ - ( theWrappedObject->setWindow(awindow)); -} - -QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->target()); -} - -Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->touchPointStates()); -} - -const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const -{ - return &( theWrappedObject->touchPoints()); -} - -QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - - - -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); } - -QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->id()); -} - -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()); -} - -QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->rawScreenPositions()); -} - -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::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -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::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) -{ - ( theWrappedObject->setRawScreenPositions(positions)); -} - -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)); -} - -void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) -{ - ( theWrappedObject->setVelocity(v)); -} - -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()); -} - -void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) -{ - ( theWrappedObject->swap(other)); -} - -QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->velocity()); -} - - - -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)); -} - -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; -} - - - -PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTreeView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::actionEvent(arg__1); -} -void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::changeEvent(arg__1); -} -void PythonQtShell_QTreeView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::childEvent(arg__1); -} -void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::closeEditor(editor0, hint1); -} -void PythonQtShell_QTreeView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::closeEvent(arg__1); -} -void PythonQtShell_QTreeView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::commitData(editor0); -} -void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::contextMenuEvent(arg__1); -} -void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::currentChanged(current0, previous1); -} -void PythonQtShell_QTreeView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::customEvent(arg__1); -} -void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QTreeView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::devType(); -} -void PythonQtShell_QTreeView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::doItemsLayout(); -} -void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::dragEnterEvent(event0); -} -void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::dragLeaveEvent(event0); -} -void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::dragMoveEvent(event0); -} -void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawBranches"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::drawBranches(painter0, rect1, index2); -} -void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::drawRow(painter0, options1, index2); -} -void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::dropEvent(event0); -} -bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::edit(index0, trigger1, event2); -} -void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::editorDestroyed(editor0); -} -void PythonQtShell_QTreeView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::enterEvent(arg__1); -} -bool PythonQtShell_QTreeView::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::event(event0); -} -bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::focusInEvent(event0); -} -bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::focusNextPrevChild(next0); -} -void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::focusOutEvent(event0); -} -bool PythonQtShell_QTreeView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::hasHeightForWidth(); -} -int PythonQtShell_QTreeView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::heightForWidth(arg__1); -} -void PythonQtShell_QTreeView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::hideEvent(arg__1); -} -int PythonQtShell_QTreeView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::horizontalOffset(); -} -void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::indexAt(p0); -} -void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::initPainter(painter0); -} -void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::inputMethodQuery(query0); -} -bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::isIndexHidden(index0); -} -void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::keyPressEvent(event0); -} -void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::keyboardSearch(search0); -} -void PythonQtShell_QTreeView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::leaveEvent(arg__1); -} -int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::metric(arg__1); -} -void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::mouseMoveEvent(event0); -} -void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::mousePressEvent(event0); -} -void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::mouseReleaseEvent(event0); -} -void PythonQtShell_QTreeView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::moveEvent(arg__1); -} -bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTreeView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::paintEngine(); -} -void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::redirected(offset0); -} -void PythonQtShell_QTreeView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::reset(); -} -void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::resizeEvent(event0); -} -void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::scrollTo(index0, hint1); -} -void PythonQtShell_QTreeView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::selectAll(); -} -QList PythonQtShell_QTreeView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::selectedIndexes(); -} -void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::selectionCommand(index0, event1); -} -void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::setModel(model0); -} -void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::setRootIndex(index0); -} -void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::setSelection(rect0, command1); -} -void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTreeView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::sharedPainter(); -} -void PythonQtShell_QTreeView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::showEvent(arg__1); -} -int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTreeView::sizeHintForColumn(column0); -} -int PythonQtShell_QTreeView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTreeView::sizeHintForRow(row0); -} -void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::startDrag(supportedActions0); -} -void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::tabletEvent(arg__1); -} -void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::timerEvent(event0); -} -void PythonQtShell_QTreeView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::updateEditorData(); -} -void PythonQtShell_QTreeView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::updateEditorGeometries(); -} -void PythonQtShell_QTreeView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::updateGeometries(); -} -int PythonQtShell_QTreeView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::verticalOffset(); -} -void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::verticalScrollbarAction(action0); -} -void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::viewOptions(); -} -bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::viewportEvent(event0); -} -QSize PythonQtShell_QTreeView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::viewportSizeHint(); -} -QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::visualRect(index0); -} -QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeView::visualRegionForSelection(selection0); -} -void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, const QVector& roles) -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight, roles)); -} - -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)); -} - -void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); -} - -bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->expandsOnDoubleClick()); -} - -QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->header()); -} - -int PythonQtWrapper_QTreeView::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)); -} - -int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); -} - -bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->isColumnHidden(column)); -} - -bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isExpanded(index)); -} - -bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isFirstColumnSpanned(row, parent)); -} - -bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isHeaderHidden()); -} - -bool PythonQtWrapper_QTreeView::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)); -} - -QModelIndex PythonQtWrapper_QTreeView::moveCursor(QTreeView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers) -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_moveCursor(cursorAction, modifiers)); -} - -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()); -} - -int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); -} - -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()); -} - - - -PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::actionEvent(arg__1); -} -void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::changeEvent(arg__1); -} -void PythonQtShell_QTreeWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::childEvent(arg__1); -} -void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::closeEditor(editor0, hint1); -} -void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::closeEvent(arg__1); -} -void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::commitData(editor0); -} -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::currentChanged(current0, previous1); -} -void PythonQtShell_QTreeWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::customEvent(arg__1); -} -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QTreeWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::devType(); -} -void PythonQtShell_QTreeWidget::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::doItemsLayout(); -} -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::dragEnterEvent(event0); -} -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::dragMoveEvent(event0); -} -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawBranches"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::drawBranches(painter0, rect1, index2); -} -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::drawRow(painter0, options1, index2); -} -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::dropEvent(event0); -} -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::dropMimeData(parent0, index1, data2, action3); -} -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::edit(index0, trigger1, event2); -} -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::editorDestroyed(editor0); -} -void PythonQtShell_QTreeWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::enterEvent(arg__1); -} -bool PythonQtShell_QTreeWidget::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::event(e0); -} -bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::focusInEvent(event0); -} -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::focusOutEvent(event0); -} -bool PythonQtShell_QTreeWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::hasHeightForWidth(); -} -int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::hideEvent(arg__1); -} -int PythonQtShell_QTreeWidget::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::horizontalOffset(); -} -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::horizontalScrollbarAction(action0); -} -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::indexAt(p0); -} -void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::initPainter(painter0); -} -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::inputMethodEvent(event0); -} -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::inputMethodQuery(query0); -} -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::isIndexHidden(index0); -} -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::keyPressEvent(event0); -} -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::keyboardSearch(search0); -} -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::leaveEvent(arg__1); -} -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::metric(arg__1); -} -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::mimeData(items0); -} -QStringList PythonQtShell_QTreeWidget::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::mimeTypes(); -} -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::mouseMoveEvent(event0); -} -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::mousePressEvent(event0); -} -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::mouseReleaseEvent(event0); -} -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::moveEvent(arg__1); -} -bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::paintEngine(); -} -void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::redirected(offset0); -} -void PythonQtShell_QTreeWidget::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::reset(); -} -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::resizeEvent(event0); -} -void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::scrollTo(index0, hint1); -} -void PythonQtShell_QTreeWidget::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::selectAll(); -} -QList PythonQtShell_QTreeWidget::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::selectedIndexes(); -} -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::selectionCommand(index0, event1); -} -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::setRootIndex(index0); -} -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::setSelection(rect0, command1); -} -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::setSelectionModel(selectionModel0); -} -void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTreeWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::sharedPainter(); -} -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::showEvent(arg__1); -} -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::sizeHintForColumn(column0); -} -int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::sizeHintForRow(row0); -} -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::startDrag(supportedActions0); -} -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::supportedDropActions(); -} -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::tabletEvent(arg__1); -} -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::timerEvent(event0); -} -void PythonQtShell_QTreeWidget::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::updateEditorData(); -} -void PythonQtShell_QTreeWidget::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::updateEditorGeometries(); -} -void PythonQtShell_QTreeWidget::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::updateGeometries(); -} -int PythonQtShell_QTreeWidget::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::verticalOffset(); -} -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::verticalScrollbarAction(action0); -} -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::viewOptions(); -} -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::viewportEvent(event0); -} -QSize PythonQtShell_QTreeWidget::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::viewportSizeHint(); -} -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::visualRect(index0); -} -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidget::visualRegionForSelection(selection0); -} -void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidget::wheelEvent(arg__1); -} -QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) -{ -return new PythonQtShell_QTreeWidget(parent); } - -void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addTopLevelItem(item)); -} - -void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) -{ - ( theWrappedObject->addTopLevelItems(items)); -} - -void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->closePersistentEditor(item, column)); -} - -int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentColumn()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -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()); -} - -QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); -} - -int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const -{ - return ( theWrappedObject->indexOfTopLevelItem(item)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->insertTopLevelItem(index, item)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) -{ - ( theWrappedObject->insertTopLevelItems(index, items)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->invisibleRootItem()); -} - -bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->isFirstItemColumnSpanned(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemAbove(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemBelow(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); -} - -QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( theWrappedObject->itemWidget(item, column)); -} - -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, PythonQtPassOwnershipToCPP 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()); -} - -PythonQtPassOwnershipToPython 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)); -} - - - -PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clone"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QTreeWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QTreeWidgetItem::clone(); -} -QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&column0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidgetItem::data(column0, role1); -} -bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QTreeWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QTreeWidgetItem::operator<(other0); -} -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidgetItem::read(in0); -} -void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&column0, (void*)&role1, (void*)&value2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidgetItem::setData(column0, role1, value2); -} -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QTreeWidgetItem::write(out0); -} -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) -{ -return new PythonQtShell_QTreeWidgetItem(type); } - -void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->addChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->addChildren(children)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->background(column)); -} - -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->checkState(column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childIndicatorPolicy()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const -{ - return ( ((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)); -} - -void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); -} - -Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->font(column)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->foreground(column)); -} - -QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->icon(column)); -} - -int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const -{ - return ( theWrappedObject->indexOfChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->insertChild(index, child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->insertChildren(index, children)); -} - -bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isDisabled()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isExpanded()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isFirstColumnSpanned()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) -{ - ( theWrappedObject->removeChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) -{ - ( theWrappedObject->setBackground(column, brush)); -} - -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(column, state)); -} - -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) -{ - ( theWrappedObject->setChildIndicatorPolicy(policy)); -} - -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) -{ - ( ((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)); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) -{ - return ( theWrappedObject->takeChild(index)); -} - -PythonQtPassOwnershipToCPP > 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)); -} - - - -PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QUndoCommand::id() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("id"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoCommand::id(); -} -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mergeWith"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoCommand::mergeWith(other0); -} -void PythonQtShell_QUndoCommand::redo() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoCommand::redo(); -} -void PythonQtShell_QUndoCommand::undo() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("undo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoCommand::undo(); -} -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(parent); } - -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(text, parent); } - -QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->actionText()); -} - -const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const -{ - return ( ((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()); -} - - - -PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QUndoGroup::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoGroup::childEvent(arg__1); -} -void PythonQtShell_QUndoGroup::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoGroup::customEvent(arg__1); -} -bool PythonQtShell_QUndoGroup::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoGroup::event(arg__1); -} -bool PythonQtShell_QUndoGroup::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoGroup::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QUndoStack::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoStack::childEvent(arg__1); -} -void PythonQtShell_QUndoStack::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoStack::customEvent(arg__1); -} -bool PythonQtShell_QUndoStack::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoStack::event(arg__1); -} -bool PythonQtShell_QUndoStack::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoStack::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QUndoView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::actionEvent(arg__1); -} -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::changeEvent(arg__1); -} -void PythonQtShell_QUndoView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::childEvent(arg__1); -} -void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::closeEditor(editor0, hint1); -} -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::closeEvent(arg__1); -} -void PythonQtShell_QUndoView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::commitData(editor0); -} -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::contextMenuEvent(arg__1); -} -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::currentChanged(current0, previous1); -} -void PythonQtShell_QUndoView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::customEvent(arg__1); -} -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QUndoView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::devType(); -} -void PythonQtShell_QUndoView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::doItemsLayout(); -} -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::dragEnterEvent(event0); -} -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::dragLeaveEvent(e0); -} -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::dragMoveEvent(e0); -} -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::dropEvent(e0); -} -bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::edit(index0, trigger1, event2); -} -void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::editorDestroyed(editor0); -} -void PythonQtShell_QUndoView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::enterEvent(arg__1); -} -bool PythonQtShell_QUndoView::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::event(e0); -} -bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::focusInEvent(event0); -} -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::focusNextPrevChild(next0); -} -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::focusOutEvent(event0); -} -bool PythonQtShell_QUndoView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::hasHeightForWidth(); -} -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::heightForWidth(arg__1); -} -void PythonQtShell_QUndoView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::hideEvent(arg__1); -} -int PythonQtShell_QUndoView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::horizontalOffset(); -} -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::indexAt(p0); -} -void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::initPainter(painter0); -} -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::inputMethodQuery(query0); -} -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::isIndexHidden(index0); -} -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::keyPressEvent(event0); -} -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::keyboardSearch(search0); -} -void PythonQtShell_QUndoView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::leaveEvent(arg__1); -} -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::metric(arg__1); -} -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::mouseMoveEvent(e0); -} -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::mousePressEvent(event0); -} -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::mouseReleaseEvent(e0); -} -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::moveEvent(arg__1); -} -bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::paintEngine(); -} -void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::redirected(offset0); -} -void PythonQtShell_QUndoView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::reset(); -} -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::resizeEvent(e0); -} -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::scrollTo(index0, hint1); -} -void PythonQtShell_QUndoView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::selectAll(); -} -QList PythonQtShell_QUndoView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::selectedIndexes(); -} -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::selectionCommand(index0, event1); -} -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::setModel(model0); -} -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::setRootIndex(index0); -} -void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::setSelection(rect0, command1); -} -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QUndoView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::sharedPainter(); -} -void PythonQtShell_QUndoView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::showEvent(arg__1); -} -int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QUndoView::sizeHintForColumn(column0); -} -int PythonQtShell_QUndoView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QUndoView::sizeHintForRow(row0); -} -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::startDrag(supportedActions0); -} -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::tabletEvent(arg__1); -} -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::timerEvent(e0); -} -void PythonQtShell_QUndoView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::updateEditorData(); -} -void PythonQtShell_QUndoView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::updateEditorGeometries(); -} -void PythonQtShell_QUndoView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::updateGeometries(); -} -int PythonQtShell_QUndoView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::verticalOffset(); -} -void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::verticalScrollbarAction(action0); -} -void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QUndoView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::viewOptions(); -} -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::viewportEvent(event0); -} -QSize PythonQtShell_QUndoView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::viewportSizeHint(); -} -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::visualRect(index0); -} -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QUndoView::visualRegionForSelection(selection0); -} -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVBoxLayout::addItem(arg__1); -} -void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVBoxLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::controlTypes(); -} -int PythonQtShell_QVBoxLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::count(); -} -void PythonQtShell_QVBoxLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QVBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::event(arg__1); -} -bool PythonQtShell_QVBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QVBoxLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::geometry(); -} -int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QVBoxLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVBoxLayout::invalidate(); -} -bool PythonQtShell_QVBoxLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QVBoxLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::layout(); -} -QSize PythonQtShell_QVBoxLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::maximumSize(); -} -QSize PythonQtShell_QVBoxLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::minimumSize(); -} -void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QVBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QVBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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); } - - - -PythonQtShell_QValidator::~PythonQtShell_QValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QValidator::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QValidator::childEvent(arg__1); -} -void PythonQtShell_QValidator::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QValidator::customEvent(arg__1); -} -bool PythonQtShell_QValidator::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QValidator::event(arg__1); -} -bool PythonQtShell_QValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QValidator::fixup(QString& arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QValidator::fixup(arg__1); -} -void PythonQtShell_QValidator::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 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)); -} - -QValidator::State PythonQtWrapper_QValidator::validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const -{ - return ( ((PythonQtPublicPromoter_QValidator*)theWrappedObject)->promoted_validate(arg__1, arg__2)); -} - - - -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(float xpos, float ypos) -{ -return new QVector2D(xpos, ypos); } - -float 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()); -} - -float PythonQtWrapper_QVector2D::length(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float 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, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, const QVector2D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, float 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, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, float 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, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector2D::setY(QVector2D* theWrappedObject, float 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()); -} - -float PythonQtWrapper_QVector2D::x(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float 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, float zpos) -{ -return new QVector3D(vector, zpos); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector4D& vector) -{ -return new QVector3D(vector); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(float xpos, float ypos, float zpos) -{ -return new QVector3D(xpos, ypos, zpos); } - -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) -{ - return (QVector3D::crossProduct(v1, v2)); -} - -float PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const -{ - return ( theWrappedObject->distanceToLine(point, direction)); -} - -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const -{ - return ( theWrappedObject->distanceToPlane(plane, normal)); -} - -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const -{ - return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); -} - -float 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()); -} - -float PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float 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, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, float 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, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, float 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, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); -} - -void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, float 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()); -} - -float PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -float 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, float zpos, float 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, float wpos) -{ -return new QVector4D(vector, wpos); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(float xpos, float ypos, float zpos, float wpos) -{ -return new QVector4D(xpos, ypos, zpos, wpos); } - -float 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()); -} - -float PythonQtWrapper_QVector4D::length(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float 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, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, const QVector4D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, float 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, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, float 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, float w) -{ - ( theWrappedObject->setW(w)); -} - -void PythonQtWrapper_QVector4D::setX(QVector4D* theWrappedObject, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector4D::setY(QVector4D* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); -} - -void PythonQtWrapper_QVector4D::setZ(QVector4D* theWrappedObject, float 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()); -} - -float PythonQtWrapper_QVector4D::w(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->w()); -} - -float PythonQtWrapper_QVector4D::x(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float PythonQtWrapper_QVector4D::y(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -float 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()); -} - - - -PythonQtShell_QWheelEvent::~PythonQtShell_QWheelEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& 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 QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) -{ -return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } - -QPoint PythonQtWrapper_QWheelEvent::angleDelta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->angleDelta()); -} - -Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->delta()); -} - -QPoint PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); -} - -const QPointF* PythonQtWrapper_QWheelEvent::globalPosF(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPosF()); -} - -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()); -} - -QPoint PythonQtWrapper_QWheelEvent::pixelDelta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pixelDelta()); -} - -QPoint PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QWheelEvent::posF(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->posF()); -} - -int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QWidget::~PythonQtShell_QWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::actionEvent(arg__1); -} -void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::changeEvent(arg__1); -} -void PythonQtShell_QWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::childEvent(arg__1); -} -void PythonQtShell_QWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::closeEvent(arg__1); -} -void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::customEvent(arg__1); -} -int PythonQtShell_QWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::devType(); -} -void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::dragEnterEvent(arg__1); -} -void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::dragMoveEvent(arg__1); -} -void PythonQtShell_QWidget::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::dropEvent(arg__1); -} -void PythonQtShell_QWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::enterEvent(arg__1); -} -bool PythonQtShell_QWidget::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::event(arg__1); -} -bool PythonQtShell_QWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWidget::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::focusInEvent(arg__1); -} -bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::focusOutEvent(arg__1); -} -bool PythonQtShell_QWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::hasHeightForWidth(); -} -int PythonQtShell_QWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::heightForWidth(arg__1); -} -void PythonQtShell_QWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::hideEvent(arg__1); -} -void PythonQtShell_QWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::initPainter(painter0); -} -void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::leaveEvent(arg__1); -} -int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::metric(arg__1); -} -QSize PythonQtShell_QWidget::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::minimumSizeHint(); -} -void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::mousePressEvent(arg__1); -} -void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::moveEvent(arg__1); -} -bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::paintEngine(); -} -void PythonQtShell_QWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::redirected(offset0); -} -void PythonQtShell_QWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::resizeEvent(arg__1); -} -void PythonQtShell_QWidget::setVisible(bool visible0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::setVisible(visible0); -} -QPainter* PythonQtShell_QWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::sharedPainter(); -} -void PythonQtShell_QWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::showEvent(arg__1); -} -QSize PythonQtShell_QWidget::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidget::sizeHint(); -} -void PythonQtShell_QWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::tabletEvent(arg__1); -} -void PythonQtShell_QWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::timerEvent(arg__1); -} -void PythonQtShell_QWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidget::wheelEvent(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()); -} - -QBackingStore* PythonQtWrapper_QWidget::backingStore(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->backingStore()); -} - -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()); -} - -void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWindow, bool destroySubWindows) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); -} - -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::focusNextChild(QWidget* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextChild()); -} - -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()); -} - -bool PythonQtWrapper_QWidget::focusPreviousChild(QWidget* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusPreviousChild()); -} - -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()); -} - -QPixmap PythonQtWrapper_QWidget::grab(QWidget* theWrappedObject, const QRect& rectangle) -{ - return ( theWrappedObject->grab(rectangle)); -} - -void PythonQtWrapper_QWidget::grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) -{ - ( theWrappedObject->grabGesture(type, flags)); -} - -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::hasHeightForWidth(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hasHeightForWidth()); -} - -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)); -} - -void PythonQtWrapper_QWidget::initPainter(QWidget* theWrappedObject, QPainter* painter) const -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_initPainter(painter)); -} - -void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -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, const 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, const 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()); -} - -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, const 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, const 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)); -} - -bool PythonQtWrapper_QWidget::nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); -} - -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()); -} - -QPaintDevice* PythonQtWrapper_QWidget::redirected(QWidget* theWrappedObject, QPoint* offset) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_redirected(offset)); -} - -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::setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints) -{ - ( theWrappedObject->setInputMethodHints(hints)); -} - -void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) -{ - ( theWrappedObject->setLayout(arg__1)); -} - -void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -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, PythonQtNewOwnerOfThis parent) -{ - ( theWrappedObject->setParent(parent)); -} - -void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis 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)); -} - -QPainter* PythonQtWrapper_QWidget::sharedPainter(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_sharedPainter()); -} - -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::ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type) -{ - ( theWrappedObject->ungrabGesture(type)); -} - -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()); -} - -QWindow* PythonQtWrapper_QWidget::windowHandle(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowHandle()); -} - -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()); -} - - - -PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWidgetAction::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidgetAction::childEvent(arg__1); -} -QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetAction::createWidget(parent0); -} -void PythonQtShell_QWidgetAction::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidgetAction::customEvent(arg__1); -} -void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("deleteWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidgetAction::deleteWidget(widget0); -} -bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetAction::event(arg__1); -} -bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetAction::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -QList PythonQtWrapper_QWidgetAction::createdWidgets(QWidgetAction* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createdWidgets()); -} - -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)); -} - - - -PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::controlTypes(); -} -Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::expandingDirections(); -} -QRect PythonQtShell_QWidgetItem::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::geometry(); -} -bool PythonQtShell_QWidgetItem::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::hasHeightForWidth(); -} -int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::heightForWidth(arg__1); -} -void PythonQtShell_QWidgetItem::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidgetItem::invalidate(); -} -bool PythonQtShell_QWidgetItem::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::isEmpty(); -} -QLayout* PythonQtShell_QWidgetItem::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::layout(); -} -QSize PythonQtShell_QWidgetItem::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::maximumSize(); -} -int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QWidgetItem::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::minimumSize(); -} -void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWidgetItem::setGeometry(arg__1); -} -QSize PythonQtShell_QWidgetItem::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::sizeHint(); -} -QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("spacerItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::spacerItem(); -} -QWidget* PythonQtShell_QWidgetItem::widget() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QWidgetItem::widget(); -} -QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) -{ -return new PythonQtShell_QWidgetItem(w); } - -QSizePolicy::ControlTypes PythonQtWrapper_QWidgetItem::controlTypes(QWidgetItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->promoted_controlTypes()); -} - -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()); -} - - - -PythonQtShell_QWindow::~PythonQtShell_QWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWindow::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::childEvent(arg__1); -} -void PythonQtShell_QWindow::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::customEvent(arg__1); -} -bool PythonQtShell_QWindow::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::event(arg__1); -} -bool PythonQtShell_QWindow::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exposeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QExposeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::exposeEvent(arg__1); -} -void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::focusInEvent(arg__1); -} -QObject* PythonQtShell_QWindow::focusObject() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::focusObject(); -} -void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::focusOutEvent(arg__1); -} -QSurfaceFormat PythonQtShell_QWindow::format() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("format"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::format(); -} -void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::hideEvent(arg__1); -} -void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::keyPressEvent(arg__1); -} -void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::mousePressEvent(arg__1); -} -void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::moveEvent(arg__1); -} -bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::resizeEvent(arg__1); -} -void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::showEvent(arg__1); -} -QSize PythonQtShell_QWindow::size() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::size(); -} -QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("surfaceType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); - } else { - returnValue = *((QSurface::SurfaceType*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWindow::surfaceType(); -} -void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::tabletEvent(arg__1); -} -void PythonQtShell_QWindow::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::timerEvent(arg__1); -} -void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("touchEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTouchEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::touchEvent(arg__1); -} -void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWindow::wheelEvent(arg__1); -} -QWindow* PythonQtWrapper_QWindow::new_QWindow(QScreen* screen) -{ -return new PythonQtShell_QWindow(screen); } - -QWindow* PythonQtWrapper_QWindow::new_QWindow(QWindow* parent) -{ -return new PythonQtShell_QWindow(parent); } - -QSize PythonQtWrapper_QWindow::baseSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->baseSize()); -} - -Qt::ScreenOrientation PythonQtWrapper_QWindow::contentOrientation(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->contentOrientation()); -} - -void PythonQtWrapper_QWindow::create(QWindow* theWrappedObject) -{ - ( theWrappedObject->create()); -} - -QCursor PythonQtWrapper_QWindow::cursor(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->cursor()); -} - -void PythonQtWrapper_QWindow::destroy(QWindow* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->devicePixelRatio()); -} - -bool PythonQtWrapper_QWindow::event(QWindow* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_event(arg__1)); -} - -void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); -} - -QString PythonQtWrapper_QWindow::filePath(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->filePath()); -} - -Qt::WindowFlags PythonQtWrapper_QWindow::flags(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QWindow::focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -QObject* PythonQtWrapper_QWindow::focusObject(QWindow* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusObject()); -} - -void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -QSurfaceFormat PythonQtWrapper_QWindow::format(QWindow* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_format()); -} - -QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->frameGeometry()); -} - -QMargins PythonQtWrapper_QWindow::frameMargins(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->frameMargins()); -} - -QPoint PythonQtWrapper_QWindow::framePosition(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->framePosition()); -} - -QRect PythonQtWrapper_QWindow::geometry(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -int PythonQtWrapper_QWindow::height(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QWindow::hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_hideEvent(arg__1)); -} - -QIcon PythonQtWrapper_QWindow::icon(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QWindow::isActive(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QWindow::isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode) const -{ - return ( theWrappedObject->isAncestorOf(child, mode)); -} - -bool PythonQtWrapper_QWindow::isExposed(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isExposed()); -} - -bool PythonQtWrapper_QWindow::isModal(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isModal()); -} - -bool PythonQtWrapper_QWindow::isTopLevel(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isTopLevel()); -} - -bool PythonQtWrapper_QWindow::isVisible(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QWindow::keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); -} - -QPoint PythonQtWrapper_QWindow::mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->mapFromGlobal(pos)); -} - -QPoint PythonQtWrapper_QWindow::mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->mapToGlobal(pos)); -} - -int PythonQtWrapper_QWindow::maximumHeight(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); -} - -QSize PythonQtWrapper_QWindow::maximumSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QWindow::maximumWidth(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -int PythonQtWrapper_QWindow::minimumHeight(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); -} - -QSize PythonQtWrapper_QWindow::minimumSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -int PythonQtWrapper_QWindow::minimumWidth(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -Qt::WindowModality PythonQtWrapper_QWindow::modality(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->modality()); -} - -void PythonQtWrapper_QWindow::mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_moveEvent(arg__1)); -} - -bool PythonQtWrapper_QWindow::nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result) -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); -} - -QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -QPoint PythonQtWrapper_QWindow::position(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -void PythonQtWrapper_QWindow::reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation) -{ - ( theWrappedObject->reportContentOrientationChange(orientation)); -} - -void PythonQtWrapper_QWindow::requestActivate(QWindow* theWrappedObject) -{ - ( theWrappedObject->requestActivate()); -} - -QSurfaceFormat PythonQtWrapper_QWindow::requestedFormat(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->requestedFormat()); -} - -void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, const QSize& newSize) -{ - ( theWrappedObject->resize(newSize)); -} - -void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, int w, int h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -QScreen* PythonQtWrapper_QWindow::screen(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->screen()); -} - -void PythonQtWrapper_QWindow::setBaseSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setBaseSize(size)); -} - -void PythonQtWrapper_QWindow::setCursor(QWindow* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->setCursor(arg__1)); -} - -void PythonQtWrapper_QWindow::setFilePath(QWindow* theWrappedObject, const QString& filePath) -{ - ( theWrappedObject->setFilePath(filePath)); -} - -void PythonQtWrapper_QWindow::setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QWindow::setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QWindow::setFramePosition(QWindow* theWrappedObject, const QPoint& point) -{ - ( theWrappedObject->setFramePosition(point)); -} - -void PythonQtWrapper_QWindow::setGeometry(QWindow* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -void PythonQtWrapper_QWindow::setGeometry(QWindow* theWrappedObject, int posx, int posy, int w, int h) -{ - ( theWrappedObject->setGeometry(posx, posy, w, h)); -} - -void PythonQtWrapper_QWindow::setIcon(QWindow* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -bool PythonQtWrapper_QWindow::setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab) -{ - return ( theWrappedObject->setKeyboardGrabEnabled(grab)); -} - -void PythonQtWrapper_QWindow::setMaximumSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setMaximumSize(size)); -} - -void PythonQtWrapper_QWindow::setMinimumSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setMinimumSize(size)); -} - -void PythonQtWrapper_QWindow::setModality(QWindow* theWrappedObject, Qt::WindowModality modality) -{ - ( theWrappedObject->setModality(modality)); -} - -bool PythonQtWrapper_QWindow::setMouseGrabEnabled(QWindow* theWrappedObject, bool grab) -{ - return ( theWrappedObject->setMouseGrabEnabled(grab)); -} - -void PythonQtWrapper_QWindow::setOpacity(QWindow* theWrappedObject, qreal level) -{ - ( theWrappedObject->setOpacity(level)); -} - -void PythonQtWrapper_QWindow::setParent(QWindow* theWrappedObject, QWindow* parent) -{ - ( theWrappedObject->setParent(parent)); -} - -void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, const QPoint& pt) -{ - ( theWrappedObject->setPosition(pt)); -} - -void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, int posy) -{ - ( theWrappedObject->setPosition(posx, posy)); -} - -void PythonQtWrapper_QWindow::setScreen(QWindow* theWrappedObject, QScreen* screen) -{ - ( theWrappedObject->setScreen(screen)); -} - -void PythonQtWrapper_QWindow::setSizeIncrement(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSizeIncrement(size)); -} - -void PythonQtWrapper_QWindow::setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType) -{ - ( theWrappedObject->setSurfaceType(surfaceType)); -} - -void PythonQtWrapper_QWindow::setTransientParent(QWindow* theWrappedObject, QWindow* parent) -{ - ( theWrappedObject->setTransientParent(parent)); -} - -void PythonQtWrapper_QWindow::setWindowState(QWindow* theWrappedObject, Qt::WindowState state) -{ - ( theWrappedObject->setWindowState(state)); -} - -void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -QSize PythonQtWrapper_QWindow::size(QWindow* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_size()); -} - -QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->sizeIncrement()); -} - -QSurface::SurfaceType PythonQtWrapper_QWindow::surfaceType(QWindow* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_surfaceType()); -} - -void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); -} - -QString PythonQtWrapper_QWindow::title(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -void PythonQtWrapper_QWindow::touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_touchEvent(arg__1)); -} - -QWindow* PythonQtWrapper_QWindow::transientParent(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->transientParent()); -} - -Qt::WindowType PythonQtWrapper_QWindow::type(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QWindow::unsetCursor(QWindow* theWrappedObject) -{ - ( theWrappedObject->unsetCursor()); -} - -void PythonQtWrapper_QWindow::wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - -int PythonQtWrapper_QWindow::width(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -WId PythonQtWrapper_QWindow::winId(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->winId()); -} - -Qt::WindowState PythonQtWrapper_QWindow::windowState(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->windowState()); -} - -int PythonQtWrapper_QWindow::x(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QWindow::y(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -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()); -} - - - -PythonQtShell_QWizard::~PythonQtShell_QWizard() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWizard::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::accept(); -} -void PythonQtShell_QWizard::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::actionEvent(arg__1); -} -void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::changeEvent(arg__1); -} -void PythonQtShell_QWizard::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::childEvent(arg__1); -} -void PythonQtShell_QWizard::cleanupPage(int id0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("cleanupPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::cleanupPage(id0); -} -void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::closeEvent(arg__1); -} -void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::contextMenuEvent(arg__1); -} -void PythonQtShell_QWizard::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::customEvent(arg__1); -} -int PythonQtShell_QWizard::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::devType(); -} -void PythonQtShell_QWizard::done(int result0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::done(result0); -} -void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::dragEnterEvent(arg__1); -} -void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::dragMoveEvent(arg__1); -} -void PythonQtShell_QWizard::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::dropEvent(arg__1); -} -void PythonQtShell_QWizard::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::enterEvent(arg__1); -} -bool PythonQtShell_QWizard::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::event(event0); -} -bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QWizard::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::exec(); -} -void PythonQtShell_QWizard::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::focusInEvent(arg__1); -} -bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::focusNextPrevChild(next0); -} -void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::focusOutEvent(arg__1); -} -bool PythonQtShell_QWizard::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::hasHeightForWidth(); -} -int PythonQtShell_QWizard::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::heightForWidth(arg__1); -} -void PythonQtShell_QWizard::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::hideEvent(arg__1); -} -void PythonQtShell_QWizard::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::initPainter(painter0); -} -void PythonQtShell_QWizard::initializePage(int id0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initializePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::initializePage(id0); -} -void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::inputMethodQuery(arg__1); -} -void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::keyPressEvent(arg__1); -} -void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWizard::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::leaveEvent(arg__1); -} -int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::metric(arg__1); -} -void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::mousePressEvent(arg__1); -} -void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWizard::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::moveEvent(arg__1); -} -bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::nativeEvent(eventType0, message1, result2); -} -int PythonQtShell_QWizard::nextId() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextId"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::nextId(); -} -void PythonQtShell_QWizard::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::open(); -} -QPaintEngine* PythonQtShell_QWizard::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::paintEngine(); -} -void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::redirected(offset0); -} -void PythonQtShell_QWizard::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::reject(); -} -void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::resizeEvent(event0); -} -QPainter* PythonQtShell_QWizard::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::sharedPainter(); -} -void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::showEvent(arg__1); -} -void PythonQtShell_QWizard::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::tabletEvent(arg__1); -} -void PythonQtShell_QWizard::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizard::timerEvent(arg__1); -} -bool PythonQtShell_QWizard::validateCurrentPage() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validateCurrentPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizard::validateCurrentPage(); -} -void PythonQtShell_QWizard::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::setSideWidget(QWizard* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setSideWidget(widget)); -} - -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)); -} - -QWidget* PythonQtWrapper_QWizard::sideWidget(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->sideWidget()); -} - -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()); -} - - - -PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWizardPage::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::actionEvent(arg__1); -} -void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::changeEvent(arg__1); -} -void PythonQtShell_QWizardPage::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::childEvent(arg__1); -} -void PythonQtShell_QWizardPage::cleanupPage() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("cleanupPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::cleanupPage(); -} -void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::closeEvent(arg__1); -} -void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::contextMenuEvent(arg__1); -} -void PythonQtShell_QWizardPage::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::customEvent(arg__1); -} -int PythonQtShell_QWizardPage::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::devType(); -} -void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::dragEnterEvent(arg__1); -} -void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::dragLeaveEvent(arg__1); -} -void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::dragMoveEvent(arg__1); -} -void PythonQtShell_QWizardPage::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::dropEvent(arg__1); -} -void PythonQtShell_QWizardPage::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::enterEvent(arg__1); -} -bool PythonQtShell_QWizardPage::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::event(arg__1); -} -bool PythonQtShell_QWizardPage::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::focusInEvent(arg__1); -} -bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::focusNextPrevChild(next0); -} -void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::focusOutEvent(arg__1); -} -bool PythonQtShell_QWizardPage::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::hasHeightForWidth(); -} -int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::heightForWidth(arg__1); -} -void PythonQtShell_QWizardPage::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::hideEvent(arg__1); -} -void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::initPainter(painter0); -} -void PythonQtShell_QWizardPage::initializePage() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initializePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::initializePage(); -} -void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::inputMethodQuery(arg__1); -} -bool PythonQtShell_QWizardPage::isComplete() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isComplete"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::isComplete(); -} -void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::keyPressEvent(arg__1); -} -void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWizardPage::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::leaveEvent(arg__1); -} -int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::metric(arg__1); -} -QSize PythonQtShell_QWizardPage::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::minimumSizeHint(); -} -void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::mousePressEvent(arg__1); -} -void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::moveEvent(arg__1); -} -bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::nativeEvent(eventType0, message1, result2); -} -int PythonQtShell_QWizardPage::nextId() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextId"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::nextId(); -} -QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::paintEngine(); -} -void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::redirected(offset0); -} -void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QWizardPage::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::sharedPainter(); -} -void PythonQtShell_QWizardPage::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::showEvent(arg__1); -} -QSize PythonQtShell_QWizardPage::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::sizeHint(); -} -void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::tabletEvent(arg__1); -} -void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QWizardPage::timerEvent(arg__1); -} -bool PythonQtShell_QWizardPage::validatePage() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validatePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QWizardPage::validatePage(); -} -void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -QVariant PythonQtWrapper_QWizardPage::field(QWizardPage* theWrappedObject, const QString& name) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_field(name)); -} - -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::registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property, const char* changedSignal) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_registerField(name, widget, property, changedSignal)); -} - -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::setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_setField(name, value)); -} - -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()); -} - -QWizard* PythonQtWrapper_QWizardPage::wizard(QWizardPage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_wizard()); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.h deleted file mode 100644 index 53f8a75c8..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ /dev/null @@ -1,2509 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QToolBox : public QToolBox -{ -public: - PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void itemInserted(int index); -virtual void itemRemoved(int index); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); - int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); - int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP 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) {}; - - ~PythonQtShell_QToolButton(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionToolButton* option) const { QToolButton::initStyleOption(option); } -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 initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) 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; -}; - - - - - -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 PythonQtWrapper_QTouchDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CapabilityFlag DeviceType ) -Q_FLAGS(Capabilities ) -enum CapabilityFlag{ - Position = QTouchDevice::Position, Area = QTouchDevice::Area, Pressure = QTouchDevice::Pressure, Velocity = QTouchDevice::Velocity, RawPositions = QTouchDevice::RawPositions, NormalizedPosition = QTouchDevice::NormalizedPosition}; -enum DeviceType{ - TouchScreen = QTouchDevice::TouchScreen, TouchPad = QTouchDevice::TouchPad}; -Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) -public slots: -QTouchDevice* new_QTouchDevice(); -void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } - QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; - QList static_QTouchDevice_devices(); - QString name(QTouchDevice* theWrappedObject) const; - void setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps); - void setName(QTouchDevice* theWrappedObject, const QString& name); - void setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType); - QTouchDevice::DeviceType type(QTouchDevice* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTouchEvent : public QTouchEvent -{ -public: - PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = 0, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(NULL) {}; - - ~PythonQtShell_QTouchEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTouchEvent : public QObject -{ Q_OBJECT -public: -public slots: -QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = 0, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList& touchPoints = QList()); -void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } - QTouchDevice* device(QTouchEvent* theWrappedObject) const; - void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); - void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); - void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); - void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); - void setWindow(QTouchEvent* theWrappedObject, QWindow* awindow); - QObject* target(QTouchEvent* theWrappedObject) const; - Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; - const QList* touchPoints(QTouchEvent* theWrappedObject) const; - QWindow* window(QTouchEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QTouchEvent__TouchPoint : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InfoFlag ) -Q_FLAGS(InfoFlags ) -enum InfoFlag{ - Pen = QTouchEvent::TouchPoint::Pen}; -Q_DECLARE_FLAGS(InfoFlags, InfoFlag) -public slots: -QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other); -QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(int id = -1); -void delete_QTouchEvent__TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } - QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; - int id(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other); - QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const; - qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const; - QVector rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const; - QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const; - 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 setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags); - void setId(QTouchEvent::TouchPoint* theWrappedObject, int id); - void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos); - void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos); - void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos); - void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos); - void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos); - void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos); - void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure); - void setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions); - void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); - void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos); - void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect); - void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos); - void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect); - void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos); - void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos); - void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos); - void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos); - void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state); - void setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v); - QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; - QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; - Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const; - void swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other); - QVector2D velocity(QTouchEvent::TouchPoint* theWrappedObject) const; -}; - - - - - -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; - 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) {}; - - ~PythonQtShell_QTreeView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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_columnCountChanged(int oldCount, int newCount) { QTreeView::columnCountChanged(oldCount, newCount); } -inline void promoted_columnMoved() { QTreeView::columnMoved(); } -inline void promoted_columnResized(int column, int oldSize, int newSize) { QTreeView::columnResized(column, oldSize, newSize); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QTreeView::dataChanged(topLeft, bottomRight, roles); } -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 void promoted_drawTree(QPainter* painter, const QRegion& region) const { QTreeView::drawTree(painter, region); } -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 int promoted_indexRowSizeHint(const QModelIndex& index) const { return QTreeView::indexRowSizeHint(index); } -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 QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QTreeView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } -inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } -inline void promoted_reexpand() { QTreeView::reexpand(); } -inline void promoted_reset() { QTreeView::reset(); } -inline int promoted_rowHeight(const QModelIndex& index) const { return QTreeView::rowHeight(index); } -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_rowsRemoved(const QModelIndex& parent, int first, int last) { QTreeView::rowsRemoved(parent, first, last); } -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, const QVector& roles = QVector()); - 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; - void drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) 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; - int indexRowSizeHint(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); - QModelIndex moveCursor(QTreeView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers); - void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event); - void reset(QTreeView* theWrappedObject); - bool rootIsDecorated(QTreeView* theWrappedObject) const; - int rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) 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) {}; - - ~PythonQtShell_QTreeWidget(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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 QModelIndex promoted_indexFromItem(QTreeWidgetItem* item, int column = 0) const { return QTreeWidget::indexFromItem(item, column); } -inline QTreeWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return QTreeWidget::itemFromIndex(index); } -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, PythonQtPassOwnershipToCPP item); - void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > 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; - QModelIndex indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; - int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; - void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item); - void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > 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; - QTreeWidgetItem* itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) 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, PythonQtPassOwnershipToCPP 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; - PythonQtPassOwnershipToPython 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) {}; - - ~PythonQtShell_QTreeWidgetItem(); - -virtual QTreeWidgetItem* clone() const; -virtual QVariant data(int column, int role) const; -virtual bool __lt__(const QTreeWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int column, int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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_emitDataChanged() { QTreeWidgetItem::emitDataChanged(); } -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(ChildIndicatorPolicy ItemType ) -enum ChildIndicatorPolicy{ - ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; -enum ItemType{ - Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; -public slots: -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); -void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } - void addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); - void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > 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; - void emitDataChanged(QTreeWidgetItem* theWrappedObject); - 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, PythonQtPassOwnershipToCPP child); - void insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > 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, PythonQtPassOwnershipToPython 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; - PythonQtPassOwnershipToPython takeChild(QTreeWidgetItem* theWrappedObject, int index); - PythonQtPassOwnershipToCPP > 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) {}; - - ~PythonQtShell_QUndoCommand(); - -virtual int id() const; -virtual bool mergeWith(const QUndoCommand* other); -virtual void redo(); -virtual void undo(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand -{ public: -inline int 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; } - QString actionText(QUndoCommand* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QUndoGroup(); - -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) {}; - - ~PythonQtShell_QUndoStack(); - -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) {}; - - ~PythonQtShell_QUndoView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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) {}; - - ~PythonQtShell_QVBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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) {}; - - ~PythonQtShell_QValidator(); - -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); } -inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return this->validate(arg__1, arg__2); } -}; - -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); - QValidator::State validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const; -}; - - - - - -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(float xpos, float ypos); -QVector2D* new_QVector2D(const QVector2D& other) { -QVector2D* a = new QVector2D(); -*((QVector2D*)a) = other; -return a; } -void delete_QVector2D(QVector2D* obj) { delete obj; } - float static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2); - bool isNull(QVector2D* theWrappedObject) const; - float length(QVector2D* theWrappedObject) const; - float 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, float factor); - QVector2D* __imul__(QVector2D* theWrappedObject, const QVector2D& vector); - QVector2D* __imul__(QVector2D* theWrappedObject, float 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, float divisor); - QVector2D* __idiv__(QVector2D* theWrappedObject, float 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, float x); - void setY(QVector2D* theWrappedObject, float y); - QPoint toPoint(QVector2D* theWrappedObject) const; - QPointF toPointF(QVector2D* theWrappedObject) const; - QVector3D toVector3D(QVector2D* theWrappedObject) const; - QVector4D toVector4D(QVector2D* theWrappedObject) const; - float x(QVector2D* theWrappedObject) const; - float 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, float zpos); -QVector3D* new_QVector3D(const QVector4D& vector); -QVector3D* new_QVector3D(float xpos, float ypos, float 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); - float distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const; - float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const; - float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const; - float static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2); - bool isNull(QVector3D* theWrappedObject) const; - float length(QVector3D* theWrappedObject) const; - float 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, float factor); - QVector3D* __imul__(QVector3D* theWrappedObject, const QVector3D& vector); - QVector3D* __imul__(QVector3D* theWrappedObject, float 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, float divisor); - QVector3D* __idiv__(QVector3D* theWrappedObject, float 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, float x); - void setY(QVector3D* theWrappedObject, float y); - void setZ(QVector3D* theWrappedObject, float z); - QPoint toPoint(QVector3D* theWrappedObject) const; - QPointF toPointF(QVector3D* theWrappedObject) const; - QVector2D toVector2D(QVector3D* theWrappedObject) const; - QVector4D toVector4D(QVector3D* theWrappedObject) const; - float x(QVector3D* theWrappedObject) const; - float y(QVector3D* theWrappedObject) const; - float 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, float zpos, float wpos); -QVector4D* new_QVector4D(const QVector3D& vector); -QVector4D* new_QVector4D(const QVector3D& vector, float wpos); -QVector4D* new_QVector4D(float xpos, float ypos, float zpos, float wpos); -QVector4D* new_QVector4D(const QVector4D& other) { -QVector4D* a = new QVector4D(); -*((QVector4D*)a) = other; -return a; } -void delete_QVector4D(QVector4D* obj) { delete obj; } - float static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2); - bool isNull(QVector4D* theWrappedObject) const; - float length(QVector4D* theWrappedObject) const; - float lengthSquared(QVector4D* theWrappedObject) const; - void normalize(QVector4D* theWrappedObject); - QVector4D normalized(QVector4D* theWrappedObject) const; - QVector4D __mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix); - const QVector4D __mul__(QVector4D* theWrappedObject, const QVector4D& v2); - const QVector4D __mul__(QVector4D* theWrappedObject, float factor); - QVector4D* __imul__(QVector4D* theWrappedObject, const QVector4D& vector); - QVector4D* __imul__(QVector4D* theWrappedObject, float 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, float divisor); - QVector4D* __idiv__(QVector4D* theWrappedObject, float 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, float w); - void setX(QVector4D* theWrappedObject, float x); - void setY(QVector4D* theWrappedObject, float y); - void setZ(QVector4D* theWrappedObject, float 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; - float w(QVector4D* theWrappedObject) const; - float x(QVector4D* theWrappedObject) const; - float y(QVector4D* theWrappedObject) const; - float 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 QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - - ~PythonQtShell_QWheelEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QWheelEvent : public QObject -{ Q_OBJECT -public: -public slots: -QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -QWheelEvent* new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } - QPoint angleDelta(QWheelEvent* theWrappedObject) const; - Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; - int delta(QWheelEvent* theWrappedObject) const; - QPoint globalPos(QWheelEvent* theWrappedObject) const; - const QPointF* globalPosF(QWheelEvent* theWrappedObject) const; - int globalX(QWheelEvent* theWrappedObject) const; - int globalY(QWheelEvent* theWrappedObject) const; - Qt::Orientation orientation(QWheelEvent* theWrappedObject) const; - QPoint pixelDelta(QWheelEvent* theWrappedObject) const; - QPoint pos(QWheelEvent* theWrappedObject) const; - const QPointF* posF(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) {}; - - ~PythonQtShell_QWidget(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* 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 void promoted_destroy(bool destroyWindow = true, bool destroySubWindows = true) { QWidget::destroy(destroyWindow, destroySubWindows); } -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_focusNextChild() { return QWidget::focusNextChild(); } -inline bool promoted_focusNextPrevChild(bool next) { return QWidget::focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWidget::focusOutEvent(arg__1); } -inline bool promoted_focusPreviousChild() { return QWidget::focusPreviousChild(); } -inline bool promoted_hasHeightForWidth() const { return QWidget::hasHeightForWidth(); } -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_initPainter(QPainter* painter) const { QWidget::initPainter(painter); } -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_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 bool promoted_nativeEvent(const QByteArray& eventType, void* message, long* result) { return QWidget::nativeEvent(eventType, message, result); } -inline QPaintEngine* promoted_paintEngine() const { return QWidget::paintEngine(); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { QWidget::paintEvent(arg__1); } -inline QPaintDevice* promoted_redirected(QPoint* offset) const { return QWidget::redirected(offset); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWidget::resizeEvent(arg__1); } -inline QPainter* promoted_sharedPainter() const { return QWidget::sharedPainter(); } -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_updateMicroFocus() { QWidget::updateMicroFocus(); } -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; - QBackingStore* backingStore(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; - void destroy(QWidget* theWrappedObject, bool destroyWindow = true, bool destroySubWindows = true); - 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 focusNextChild(QWidget* theWrappedObject); - bool focusNextPrevChild(QWidget* theWrappedObject, bool next); - void focusOutEvent(QWidget* theWrappedObject, QFocusEvent* arg__1); - Qt::FocusPolicy focusPolicy(QWidget* theWrappedObject) const; - bool focusPreviousChild(QWidget* theWrappedObject); - 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; - QPixmap grab(QWidget* theWrappedObject, const QRect& rectangle = QRect(QPoint(0, 0), QSize(-1, -1))); - void grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); - 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 hasHeightForWidth(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); - void initPainter(QWidget* theWrappedObject, QPainter* painter) const; - 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, const 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, const 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(); - 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, const 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, const 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); - bool nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result); - 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; - QPaintDevice* redirected(QWidget* theWrappedObject, QPoint* offset) 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 setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints); - void setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); - void setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction); - void setLocale(QWidget* theWrappedObject, const QLocale& locale); - void setMask(QWidget* theWrappedObject, const QBitmap& arg__1); - 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, PythonQtNewOwnerOfThis parent); - void setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis 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); - QPainter* sharedPainter(QWidget* theWrappedObject) const; - 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 ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type); - 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; - QWindow* windowHandle(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) {}; - - ~PythonQtShell_QWidgetAction(); - -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 QList promoted_createdWidgets() const { return QWidgetAction::createdWidgets(); } -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); - QList createdWidgets(QWidgetAction* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QWidgetItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual 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 QSizePolicy::ControlTypes promoted_controlTypes() const { return QWidgetItem::controlTypes(); } -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; } - QSizePolicy::ControlTypes controlTypes(QWidgetItem* theWrappedObject) const; - 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 PythonQtShell_QWindow : public QWindow -{ -public: - PythonQtShell_QWindow(QScreen* screen = 0):QWindow(screen),_wrapper(NULL) {}; - PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWindow(); - -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 exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QWindow : public QWindow -{ public: -inline bool promoted_event(QEvent* arg__1) { return QWindow::event(arg__1); } -inline void promoted_exposeEvent(QExposeEvent* arg__1) { QWindow::exposeEvent(arg__1); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWindow::focusInEvent(arg__1); } -inline QObject* promoted_focusObject() const { return QWindow::focusObject(); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWindow::focusOutEvent(arg__1); } -inline QSurfaceFormat promoted_format() const { return QWindow::format(); } -inline void promoted_hideEvent(QHideEvent* arg__1) { QWindow::hideEvent(arg__1); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWindow::keyPressEvent(arg__1); } -inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWindow::keyReleaseEvent(arg__1); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWindow::mouseDoubleClickEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWindow::mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWindow::mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWindow::mouseReleaseEvent(arg__1); } -inline void promoted_moveEvent(QMoveEvent* arg__1) { QWindow::moveEvent(arg__1); } -inline bool promoted_nativeEvent(const QByteArray& eventType, void* message, long* result) { return QWindow::nativeEvent(eventType, message, result); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { QWindow::resizeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { QWindow::showEvent(arg__1); } -inline QSize promoted_size() const { return QWindow::size(); } -inline QSurface::SurfaceType promoted_surfaceType() const { return QWindow::surfaceType(); } -inline void promoted_tabletEvent(QTabletEvent* arg__1) { QWindow::tabletEvent(arg__1); } -inline void promoted_touchEvent(QTouchEvent* arg__1) { QWindow::touchEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWindow::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AncestorMode ) -enum AncestorMode{ - ExcludeTransients = QWindow::ExcludeTransients, IncludeTransients = QWindow::IncludeTransients}; -public slots: -QWindow* new_QWindow(QScreen* screen = 0); -QWindow* new_QWindow(QWindow* parent); -void delete_QWindow(QWindow* obj) { delete obj; } - QSize baseSize(QWindow* theWrappedObject) const; - Qt::ScreenOrientation contentOrientation(QWindow* theWrappedObject) const; - void create(QWindow* theWrappedObject); - QCursor cursor(QWindow* theWrappedObject) const; - void destroy(QWindow* theWrappedObject); - qreal devicePixelRatio(QWindow* theWrappedObject) const; - bool event(QWindow* theWrappedObject, QEvent* arg__1); - void exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1); - QString filePath(QWindow* theWrappedObject) const; - Qt::WindowFlags flags(QWindow* theWrappedObject) const; - void focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1); - QObject* focusObject(QWindow* theWrappedObject) const; - void focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1); - QSurfaceFormat format(QWindow* theWrappedObject) const; - QRect frameGeometry(QWindow* theWrappedObject) const; - QMargins frameMargins(QWindow* theWrappedObject) const; - QPoint framePosition(QWindow* theWrappedObject) const; - QRect geometry(QWindow* theWrappedObject) const; - int height(QWindow* theWrappedObject) const; - void hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1); - QIcon icon(QWindow* theWrappedObject) const; - bool isActive(QWindow* theWrappedObject) const; - bool isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode = QWindow::IncludeTransients) const; - bool isExposed(QWindow* theWrappedObject) const; - bool isModal(QWindow* theWrappedObject) const; - bool isTopLevel(QWindow* theWrappedObject) const; - bool isVisible(QWindow* theWrappedObject) const; - void keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1); - void keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1); - QPoint mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const; - QPoint mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const; - int maximumHeight(QWindow* theWrappedObject) const; - QSize maximumSize(QWindow* theWrappedObject) const; - int maximumWidth(QWindow* theWrappedObject) const; - int minimumHeight(QWindow* theWrappedObject) const; - QSize minimumSize(QWindow* theWrappedObject) const; - int minimumWidth(QWindow* theWrappedObject) const; - Qt::WindowModality modality(QWindow* theWrappedObject) const; - void mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); - void mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); - void mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); - void mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1); - void moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1); - bool nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result); - QWindow* parent(QWindow* theWrappedObject) const; - QPoint position(QWindow* theWrappedObject) const; - void reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation); - void requestActivate(QWindow* theWrappedObject); - QSurfaceFormat requestedFormat(QWindow* theWrappedObject) const; - void resize(QWindow* theWrappedObject, const QSize& newSize); - void resize(QWindow* theWrappedObject, int w, int h); - void resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1); - QScreen* screen(QWindow* theWrappedObject) const; - void setBaseSize(QWindow* theWrappedObject, const QSize& size); - void setCursor(QWindow* theWrappedObject, const QCursor& arg__1); - void setFilePath(QWindow* theWrappedObject, const QString& filePath); - void setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags); - void setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format); - void setFramePosition(QWindow* theWrappedObject, const QPoint& point); - void setGeometry(QWindow* theWrappedObject, const QRect& rect); - void setGeometry(QWindow* theWrappedObject, int posx, int posy, int w, int h); - void setIcon(QWindow* theWrappedObject, const QIcon& icon); - bool setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab); - void setMaximumSize(QWindow* theWrappedObject, const QSize& size); - void setMinimumSize(QWindow* theWrappedObject, const QSize& size); - void setModality(QWindow* theWrappedObject, Qt::WindowModality modality); - bool setMouseGrabEnabled(QWindow* theWrappedObject, bool grab); - void setOpacity(QWindow* theWrappedObject, qreal level); - void setParent(QWindow* theWrappedObject, QWindow* parent); - void setPosition(QWindow* theWrappedObject, const QPoint& pt); - void setPosition(QWindow* theWrappedObject, int posx, int posy); - void setScreen(QWindow* theWrappedObject, QScreen* screen); - void setSizeIncrement(QWindow* theWrappedObject, const QSize& size); - void setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType); - void setTransientParent(QWindow* theWrappedObject, QWindow* parent); - void setWindowState(QWindow* theWrappedObject, Qt::WindowState state); - void showEvent(QWindow* theWrappedObject, QShowEvent* arg__1); - QSize size(QWindow* theWrappedObject) const; - QSize sizeIncrement(QWindow* theWrappedObject) const; - QSurface::SurfaceType surfaceType(QWindow* theWrappedObject) const; - void tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1); - QString title(QWindow* theWrappedObject) const; - void touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1); - QWindow* transientParent(QWindow* theWrappedObject) const; - Qt::WindowType type(QWindow* theWrappedObject) const; - void unsetCursor(QWindow* theWrappedObject); - void wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1); - int width(QWindow* theWrappedObject) const; - WId winId(QWindow* theWrappedObject) const; - Qt::WindowState windowState(QWindow* theWrappedObject) const; - int x(QWindow* theWrappedObject) const; - int y(QWindow* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QWindowStateChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride = false); -void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } - bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; - Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QWizard : public QWizard -{ -public: - PythonQtShell_QWizard(QWidget* parent = 0, Qt::WindowFlags flags = 0):QWizard(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QWizard(); - -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 int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(int id); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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 setSideWidget(QWizard* theWrappedObject, QWidget* widget); - 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); - QWidget* sideWidget(QWizard* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QWizardPage(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual bool isComplete() const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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 QVariant promoted_field(const QString& name) const { return QWizardPage::field(name); } -inline void promoted_initializePage() { QWizardPage::initializePage(); } -inline bool promoted_isComplete() const { return QWizardPage::isComplete(); } -inline int promoted_nextId() const { return QWizardPage::nextId(); } -inline void promoted_registerField(const QString& name, QWidget* widget, const char* property = 0, const char* changedSignal = 0) { QWizardPage::registerField(name, widget, property, changedSignal); } -inline void promoted_setField(const QString& name, const QVariant& value) { QWizardPage::setField(name, value); } -inline bool promoted_validatePage() { return QWizardPage::validatePage(); } -inline QWizard* promoted_wizard() const { return QWizardPage::wizard(); } -}; - -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); - QVariant field(QWizardPage* theWrappedObject, const QString& name) const; - 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 registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property = 0, const char* changedSignal = 0); - void setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text); - void setCommitPage(QWizardPage* theWrappedObject, bool commitPage); - void setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value); - 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); - QWizard* wizard(QWizardPage* theWrappedObject) const; -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp deleted file mode 100644 index 70e4143b7..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ /dev/null @@ -1,11950 +0,0 @@ -#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 - -QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() -{ -return new QFontDatabase(); } - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) -{ - return (QFontDatabase::addApplicationFont(fileName)); -} - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) -{ - return (QFontDatabase::addApplicationFontFromData(fontData)); -} - -QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) -{ - return (QFontDatabase::applicationFontFamilies(id)); -} - -bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->bold(family, style)); -} - -QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const -{ - return ( theWrappedObject->families(writingSystem)); -} - -QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const -{ - return ( theWrappedObject->font(family, style, pointSize)); -} - -bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->hasFamily(family)); -} - -bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isBitmapScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isFixedPitch(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isSmoothlyScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->italic(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->pointSizes(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() -{ - return (QFontDatabase::removeAllApplicationFonts()); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) -{ - return (QFontDatabase::removeApplicationFont(id)); -} - -QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->smoothSizes(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() -{ - return (QFontDatabase::standardSizes()); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) -{ - return ( theWrappedObject->styleString(font)); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) -{ - return ( theWrappedObject->styleString(fontInfo)); -} - -QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->styles(family)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() -{ - return (QFontDatabase::supportsThreadedFontRendering()); -} - -int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->weight(family, style)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemName(writingSystem)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemSample(writingSystem)); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const -{ - return ( theWrappedObject->writingSystems()); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->writingSystems(family)); -} - - - -PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFontDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::accept(); -} -void PythonQtShell_QFontDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::actionEvent(arg__1); -} -void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::changeEvent(event0); -} -void PythonQtShell_QFontDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::childEvent(arg__1); -} -void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::closeEvent(arg__1); -} -void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QFontDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::customEvent(arg__1); -} -int PythonQtShell_QFontDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::devType(); -} -void PythonQtShell_QFontDialog::done(int result0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::done(result0); -} -void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QFontDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::dropEvent(arg__1); -} -void PythonQtShell_QFontDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::enterEvent(arg__1); -} -bool PythonQtShell_QFontDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::event(arg__1); -} -bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::eventFilter(object0, event1); -} -int PythonQtShell_QFontDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::exec(); -} -void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QFontDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::hasHeightForWidth(); -} -int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::heightForWidth(arg__1); -} -void PythonQtShell_QFontDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::hideEvent(arg__1); -} -void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::initPainter(painter0); -} -void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFontDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::leaveEvent(arg__1); -} -int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::metric(arg__1); -} -void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::moveEvent(arg__1); -} -bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QFontDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::open(); -} -QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::paintEngine(); -} -void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::redirected(offset0); -} -void PythonQtShell_QFontDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::reject(); -} -void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QFontDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFontDialog::sharedPainter(); -} -void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::showEvent(arg__1); -} -void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::tabletEvent(arg__1); -} -void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFontDialog::timerEvent(arg__1); -} -void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -bool PythonQtWrapper_QFontDialog::eventFilter(QFontDialog* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -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, const QString& title, QFontDialog::FontDialogOptions options) -{ - return (QFontDialog::getFont(ok, initial, parent, title, options)); -} - -void PythonQtWrapper_QFontDialog::open(QFontDialog* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->promoted_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()); -} - -QString PythonQtWrapper_QFontInfo::styleName(QFontInfo* theWrappedObject) const -{ - return ( theWrappedObject->styleName()); -} - -void PythonQtWrapper_QFontInfo::swap(QFontInfo* theWrappedObject, QFontInfo& other) -{ - ( theWrappedObject->swap(other)); -} - -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)); -} - -bool PythonQtWrapper_QFontMetrics::inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const -{ - return ( theWrappedObject->inFontUcs4(ucs4)); -} - -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()); -} - -void PythonQtWrapper_QFontMetrics::swap(QFontMetrics* theWrappedObject, QFontMetrics& other) -{ - ( theWrappedObject->swap(other)); -} - -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::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const -{ - return ( theWrappedObject->width(arg__1, len, flags)); -} - -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)); -} - -bool PythonQtWrapper_QFontMetricsF::inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const -{ - return ( theWrappedObject->inFontUcs4(ucs4)); -} - -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()); -} - -void PythonQtWrapper_QFontMetricsF::swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other) -{ - ( theWrappedObject->swap(other)); -} - -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()); -} - - - -PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFormLayout::addItem(item0); -} -void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFormLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::controlTypes(); -} -int PythonQtShell_QFormLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::count(); -} -void PythonQtShell_QFormLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFormLayout::customEvent(arg__1); -} -bool PythonQtShell_QFormLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::event(arg__1); -} -bool PythonQtShell_QFormLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::expandingDirections(); -} -QRect PythonQtShell_QFormLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::geometry(); -} -int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFormLayout::indexOf(arg__1); -} -void PythonQtShell_QFormLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFormLayout::invalidate(); -} -bool PythonQtShell_QFormLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFormLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::itemAt(index0); -} -QLayout* PythonQtShell_QFormLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QFormLayout::layout(); -} -QSize PythonQtShell_QFormLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::maximumSize(); -} -QSize PythonQtShell_QFormLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::minimumSize(); -} -void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFormLayout::setGeometry(rect0); -} -QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFormLayout::takeAt(index0); -} -void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP layout) -{ - ( theWrappedObject->addRow(layout)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->addRow(label, field)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->addRow(label, field)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->addRow(widget)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->addRow(labelText, field)); -} - -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP layout) -{ - ( theWrappedObject->insertRow(row, layout)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->insertRow(row, label, field)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->insertRow(row, label, field)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->insertRow(row, widget)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->insertRow(row, labelText, field)); -} - -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) -{ - ( theWrappedObject->insertRow(row, labelText, field)); -} - -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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()); -} - - - -PythonQtShell_QFrame::~PythonQtShell_QFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFrame::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::actionEvent(arg__1); -} -void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::changeEvent(arg__1); -} -void PythonQtShell_QFrame::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::childEvent(arg__1); -} -void PythonQtShell_QFrame::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::closeEvent(arg__1); -} -void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::contextMenuEvent(arg__1); -} -void PythonQtShell_QFrame::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::customEvent(arg__1); -} -int PythonQtShell_QFrame::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::devType(); -} -void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::dragEnterEvent(arg__1); -} -void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::dragLeaveEvent(arg__1); -} -void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::dragMoveEvent(arg__1); -} -void PythonQtShell_QFrame::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::dropEvent(arg__1); -} -void PythonQtShell_QFrame::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::enterEvent(arg__1); -} -bool PythonQtShell_QFrame::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::event(e0); -} -bool PythonQtShell_QFrame::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QFrame::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::focusInEvent(arg__1); -} -bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::focusNextPrevChild(next0); -} -void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::focusOutEvent(arg__1); -} -bool PythonQtShell_QFrame::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::hasHeightForWidth(); -} -int PythonQtShell_QFrame::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::heightForWidth(arg__1); -} -void PythonQtShell_QFrame::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::hideEvent(arg__1); -} -void PythonQtShell_QFrame::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::initPainter(painter0); -} -void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::inputMethodQuery(arg__1); -} -void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::keyPressEvent(arg__1); -} -void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::keyReleaseEvent(arg__1); -} -void PythonQtShell_QFrame::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::leaveEvent(arg__1); -} -int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::metric(arg__1); -} -QSize PythonQtShell_QFrame::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::minimumSizeHint(); -} -void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::mouseMoveEvent(arg__1); -} -void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::mousePressEvent(arg__1); -} -void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QFrame::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::moveEvent(arg__1); -} -bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QFrame::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::paintEngine(); -} -void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::redirected(offset0); -} -void PythonQtShell_QFrame::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QFrame::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QFrame::sharedPainter(); -} -void PythonQtShell_QFrame::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::showEvent(arg__1); -} -void PythonQtShell_QFrame::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::tabletEvent(arg__1); -} -void PythonQtShell_QFrame::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QFrame::timerEvent(arg__1); -} -void PythonQtShell_QFrame::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -void PythonQtWrapper_QFrame::drawFrame(QFrame* theWrappedObject, QPainter* arg__1) -{ - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_drawFrame(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()); -} - - - -PythonQtShell_QGesture::~PythonQtShell_QGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGesture::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGesture::childEvent(arg__1); -} -void PythonQtShell_QGesture::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGesture::customEvent(arg__1); -} -bool PythonQtShell_QGesture::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGesture::event(arg__1); -} -bool PythonQtShell_QGesture::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGesture::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGesture::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGesture::timerEvent(arg__1); -} -QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) -{ -return new PythonQtShell_QGesture(parent); } - -QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const -{ - return ( theWrappedObject->gestureCancelPolicy()); -} - -Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const -{ - return ( theWrappedObject->gestureType()); -} - -bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const -{ - return ( theWrappedObject->hasHotSpot()); -} - -QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const -{ - return ( theWrappedObject->hotSpot()); -} - -void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) -{ - ( theWrappedObject->setGestureCancelPolicy(policy)); -} - -void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setHotSpot(value)); -} - -Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) -{ - ( theWrappedObject->unsetHotSpot()); -} - - - -QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) -{ -return new QGestureEvent(gestures); } - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject) -{ - ( theWrappedObject->accept()); -} - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) -{ - ( theWrappedObject->accept(arg__1)); -} - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) -{ - ( theWrappedObject->accept(arg__1)); -} - -QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->activeGestures()); -} - -QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->canceledGestures()); -} - -QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const -{ - return ( theWrappedObject->gesture(type)); -} - -QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->gestures()); -} - -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject) -{ - ( theWrappedObject->ignore()); -} - -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) -{ - ( theWrappedObject->ignore(arg__1)); -} - -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) -{ - ( theWrappedObject->ignore(arg__1)); -} - -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAccepted()); -} - -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const -{ - return ( theWrappedObject->isAccepted(arg__1)); -} - -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const -{ - return ( theWrappedObject->isAccepted(arg__1)); -} - -QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const -{ - return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); -} - -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) -{ - ( theWrappedObject->setAccepted(arg__1, arg__2)); -} - -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) -{ - ( theWrappedObject->setAccepted(arg__1, arg__2)); -} - -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, bool accepted) -{ - ( theWrappedObject->setAccepted(accepted)); -} - -void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - - - -PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("create"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGesture*" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGesture* returnValue; - void* args[2] = {NULL, (void*)&target0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); - } else { - returnValue = *((QGesture**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGestureRecognizer::create(target0); -} -QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("recognize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGestureRecognizer::Result" , "QGesture*" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QGestureRecognizer::Result returnValue; - void* args[4] = {NULL, (void*)&state0, (void*)&watched1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); - } else { - returnValue = *((QGestureRecognizer::Result*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGestureRecognizer::Result(); -} -void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGesture*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGestureRecognizer::reset(state0); -} -QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() -{ -return new PythonQtShell_QGestureRecognizer(); } - -QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) -{ - return ( ((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->promoted_create(target)); -} - -QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->promoted_recognize(state, watched, event)); -} - -Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) -{ - return (QGestureRecognizer::registerRecognizer(recognizer)); -} - -void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) -{ - ( ((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->promoted_reset(state)); -} - -void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) -{ - (QGestureRecognizer::unregisterRecognizer(type)); -} - - - -QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun() -{ -return new QGlyphRun(); } - -QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun(const QGlyphRun& other) -{ -return new QGlyphRun(other); } - -QRectF PythonQtWrapper_QGlyphRun::boundingRect(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -void PythonQtWrapper_QGlyphRun::clear(QGlyphRun* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QGlyphRun::GlyphRunFlags PythonQtWrapper_QGlyphRun::flags(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QVector PythonQtWrapper_QGlyphRun::glyphIndexes(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->glyphIndexes()); -} - -bool PythonQtWrapper_QGlyphRun::isEmpty(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QGlyphRun::isRightToLeft(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->isRightToLeft()); -} - -bool PythonQtWrapper_QGlyphRun::__ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QGlyphRun* PythonQtWrapper_QGlyphRun::operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QGlyphRun::__eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QGlyphRun::overline(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->overline()); -} - -QVector PythonQtWrapper_QGlyphRun::positions(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->positions()); -} - -QRawFont PythonQtWrapper_QGlyphRun::rawFont(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->rawFont()); -} - -void PythonQtWrapper_QGlyphRun::setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect) -{ - ( theWrappedObject->setBoundingRect(boundingRect)); -} - -void PythonQtWrapper_QGlyphRun::setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled) -{ - ( theWrappedObject->setFlag(flag, enabled)); -} - -void PythonQtWrapper_QGlyphRun::setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QGlyphRun::setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes) -{ - ( theWrappedObject->setGlyphIndexes(glyphIndexes)); -} - -void PythonQtWrapper_QGlyphRun::setOverline(QGlyphRun* theWrappedObject, bool overline) -{ - ( theWrappedObject->setOverline(overline)); -} - -void PythonQtWrapper_QGlyphRun::setPositions(QGlyphRun* theWrappedObject, const QVector& positions) -{ - ( theWrappedObject->setPositions(positions)); -} - -void PythonQtWrapper_QGlyphRun::setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size) -{ - ( theWrappedObject->setRawData(glyphIndexArray, glyphPositionArray, size)); -} - -void PythonQtWrapper_QGlyphRun::setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont) -{ - ( theWrappedObject->setRawFont(rawFont)); -} - -void PythonQtWrapper_QGlyphRun::setRightToLeft(QGlyphRun* theWrappedObject, bool on) -{ - ( theWrappedObject->setRightToLeft(on)); -} - -void PythonQtWrapper_QGlyphRun::setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut) -{ - ( theWrappedObject->setStrikeOut(strikeOut)); -} - -void PythonQtWrapper_QGlyphRun::setUnderline(QGlyphRun* theWrappedObject, bool underline) -{ - ( theWrappedObject->setUnderline(underline)); -} - -bool PythonQtWrapper_QGlyphRun::strikeOut(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->strikeOut()); -} - -void PythonQtWrapper_QGlyphRun::swap(QGlyphRun* theWrappedObject, QGlyphRun& other) -{ - ( theWrappedObject->swap(other)); -} - -bool PythonQtWrapper_QGlyphRun::underline(QGlyphRun* theWrappedObject) const -{ - return ( theWrappedObject->underline()); -} - - - -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()); -} - - - -PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGraphicsAnchorLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsAnchorLayout::count(); -} -void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsAnchorLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsAnchorLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsAnchorLayout::itemAt(index0); -} -void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsAnchorLayout::removeAt(index0); -} -void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsAnchorLayout::updateGeometry(); -} -void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsAnchorLayout::widgetEvent(e0); -} -QGraphicsAnchorLayout* PythonQtWrapper_QGraphicsAnchorLayout::new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsAnchorLayout(parent); } - -QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) -{ - return ( theWrappedObject->addAnchor(firstItem, firstEdge, secondItem, secondEdge)); -} - -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)); -} - -QSizeF PythonQtWrapper_QGraphicsAnchorLayout::sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - -qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - - - -PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRectFor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsBlurEffect::boundingRectFor(rect0); -} -void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsBlurEffect::childEvent(arg__1); -} -void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsBlurEffect::customEvent(arg__1); -} -void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsBlurEffect::draw(painter0); -} -bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsBlurEffect::event(arg__1); -} -bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsBlurEffect::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sourceChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsBlurEffect::sourceChanged(flags0); -} -void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsBlurEffect::timerEvent(arg__1); -} -QGraphicsBlurEffect* PythonQtWrapper_QGraphicsBlurEffect::new_QGraphicsBlurEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsBlurEffect(parent); } - -QGraphicsBlurEffect::BlurHints PythonQtWrapper_QGraphicsBlurEffect::blurHints(QGraphicsBlurEffect* theWrappedObject) const -{ - return ( theWrappedObject->blurHints()); -} - -qreal PythonQtWrapper_QGraphicsBlurEffect::blurRadius(QGraphicsBlurEffect* theWrappedObject) const -{ - return ( theWrappedObject->blurRadius()); -} - -QRectF PythonQtWrapper_QGraphicsBlurEffect::boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->promoted_boundingRectFor(rect)); -} - -void PythonQtWrapper_QGraphicsBlurEffect::draw(QGraphicsBlurEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->promoted_draw(painter)); -} - - - -PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRectFor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); -} -void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsColorizeEffect::childEvent(arg__1); -} -void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsColorizeEffect::customEvent(arg__1); -} -void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsColorizeEffect::draw(painter0); -} -bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsColorizeEffect::event(arg__1); -} -bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsColorizeEffect::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sourceChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsColorizeEffect::sourceChanged(flags0); -} -void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsColorizeEffect::timerEvent(arg__1); -} -QGraphicsColorizeEffect* PythonQtWrapper_QGraphicsColorizeEffect::new_QGraphicsColorizeEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsColorizeEffect(parent); } - -QColor PythonQtWrapper_QGraphicsColorizeEffect::color(QGraphicsColorizeEffect* theWrappedObject) const -{ - return ( theWrappedObject->color()); -} - -void PythonQtWrapper_QGraphicsColorizeEffect::draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsColorizeEffect*)theWrappedObject)->promoted_draw(painter)); -} - -qreal PythonQtWrapper_QGraphicsColorizeEffect::strength(QGraphicsColorizeEffect* theWrappedObject) const -{ - return ( theWrappedObject->strength()); -} - - - -PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRectFor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsDropShadowEffect::boundingRectFor(rect0); -} -void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsDropShadowEffect::childEvent(arg__1); -} -void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsDropShadowEffect::customEvent(arg__1); -} -void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsDropShadowEffect::draw(painter0); -} -bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsDropShadowEffect::event(arg__1); -} -bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsDropShadowEffect::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sourceChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsDropShadowEffect::sourceChanged(flags0); -} -void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsDropShadowEffect::timerEvent(arg__1); -} -QGraphicsDropShadowEffect* PythonQtWrapper_QGraphicsDropShadowEffect::new_QGraphicsDropShadowEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsDropShadowEffect(parent); } - -qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->blurRadius()); -} - -QRectF PythonQtWrapper_QGraphicsDropShadowEffect::boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->promoted_boundingRectFor(rect)); -} - -QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->color()); -} - -void PythonQtWrapper_QGraphicsDropShadowEffect::draw(QGraphicsDropShadowEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->promoted_draw(painter)); -} - -QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->xOffset()); -} - -qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->yOffset()); -} - - - -PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRectFor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsEffect::boundingRectFor(sourceRect0); -} -void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsEffect::childEvent(arg__1); -} -void PythonQtShell_QGraphicsEffect::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsEffect::customEvent(arg__1); -} -void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -bool PythonQtShell_QGraphicsEffect::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsEffect::event(arg__1); -} -bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsEffect::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sourceChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsEffect::sourceChanged(flags0); -} -void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); -} - -void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); -} - -bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); -} - -void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); -} - -bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); -} - -QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); -} - -void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); -} - - - -PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsEllipseItem::isObscuredBy(item0); -} -QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsEllipseItem::opaqueArea(); -} -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsEllipseItem::extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_extension(variant)); -} - -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::setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -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()); -} - -bool PythonQtWrapper_QGraphicsEllipseItem::supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGraphicsGridLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsGridLayout::count(); -} -void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsGridLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsGridLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsGridLayout::itemAt(index0); -} -void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsGridLayout::removeAt(index0); -} -void PythonQtShell_QGraphicsGridLayout::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsGridLayout::updateGeometry(); -} -void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsGridLayout::widgetEvent(e0); -} -QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsGridLayout(parent); } - -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) -{ - ( theWrappedObject->addItem(item, row, column, alignment)); -} - -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP 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)); -} - -void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) -{ - ( theWrappedObject->removeItem(item)); -} - -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()); -} - - - -PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsItem::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::advance(phase0); -} -QRectF PythonQtShell_QGraphicsItem::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRectF(); -} -bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::contains(point0); -} -void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::dropEvent(event0); -} -QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::extension(variant0); -} -void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::focusInEvent(event0); -} -void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::opaqueArea(); -} -void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsItem::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::shape(); -} -bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::supportsExtension(extension0); -} -int PythonQtShell_QGraphicsItem::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItem::type(); -} -void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItem::wheelEvent(event0); -} -QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItem(parent); } - -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()); -} - -void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); -} - -void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_advance(phase)); -} - -QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_boundingRect()); -} - -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 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()); -} - -void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_paint(painter, option, widget)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->panel()); -} - -QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->panelModality()); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentItem()); -} - -QGraphicsObject* PythonQtWrapper_QGraphicsItem::parentObject(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentObject()); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); -} - -void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); -} - -void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->removeSceneEventFilter(filterItem)); -} - -void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); -} - -qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->rotation()); -} - -qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scale()); -} - -QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scene()); -} - -QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->sceneBoundingRect()); -} - -bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); -} - -QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->sceneTransform()); -} - -void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) -{ - ( theWrappedObject->scroll(dx, dy, rect)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) -{ - ( theWrappedObject->setAcceptDrops(on)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAcceptHoverEvents(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAcceptTouchEvents(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setAcceptedMouseButtons(buttons)); -} - -void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) -{ - ( theWrappedObject->setActive(active)); -} - -void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) -{ - ( theWrappedObject->setBoundingRegionGranularity(granularity)); -} - -void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) -{ - ( theWrappedObject->setCacheMode(mode, cacheSize)); -} - -void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) -{ - ( theWrappedObject->setCursor(cursor)); -} - -void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) -{ - ( theWrappedObject->setData(key, value)); -} - -void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setEnabled(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setFiltersChildEvents(enabled)); -} - -void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) -{ - ( theWrappedObject->setFlag(flag, enabled)); -} - -void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocus(focusReason)); -} - -void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->setFocusProxy(item)); -} - -void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) -{ - ( theWrappedObject->setGraphicsEffect(effect)); -} - -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, PythonQtNewOwnerOfThis parent) -{ - ( theWrappedObject->setParentItem(parent)); -} - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setPos(x, y)); -} - -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::show(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->show()); -} - -void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) -{ - ( theWrappedObject->stackBefore(sibling)); -} - -bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -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()); -} - -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::updateMicroFocus(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); -} - -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; -} - - - -PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("afterAnimationStep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemAnimation::afterAnimationStep(step0); -} -void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("beforeAnimationStep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemAnimation::beforeAnimationStep(step0); -} -void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemAnimation::childEvent(arg__1); -} -void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemAnimation::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemAnimation::event(arg__1); -} -bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemAnimation::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsItemGroup::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::advance(phase0); -} -QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::boundingRect(); -} -bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::contains(point0); -} -void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::dropEvent(event0); -} -QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::extension(variant0); -} -void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::focusInEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::opaqueArea(); -} -void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::paint(painter0, option1, widget2); -} -bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::shape(); -} -bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::supportsExtension(extension0); -} -int PythonQtShell_QGraphicsItemGroup::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsItemGroup::type(); -} -void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsItemGroup::wheelEvent(event0); -} -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItemGroup(parent); } - -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()); -} - - - -PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGraphicsLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&i0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 0; -} -void PythonQtShell_QGraphicsLayout::removeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayout::setGeometry(rect0); -} -QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSizeF(); -} -void PythonQtShell_QGraphicsLayout::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayout::updateGeometry(); -} -void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayout::widgetEvent(e0); -} -QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLayout(parent); } - -void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) -{ - ( theWrappedObject->activate()); -} - -void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); -} - -int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_count()); -} - -void PythonQtWrapper_QGraphicsLayout::getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_getContentsMargins(left, top, right, bottom)); -} - -bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() -{ - return (QGraphicsLayout::instantInvalidatePropagation()); -} - -void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_invalidate()); -} - -bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const -{ - return ( theWrappedObject->isActivated()); -} - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_itemAt(i)); -} - -void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_removeAt(index)); -} - -void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) -{ - (QGraphicsLayout::setInstantInvalidatePropagation(enable)); -} - -void PythonQtWrapper_QGraphicsLayout::updateGeometry(QGraphicsLayout* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_updateGeometry()); -} - -void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_widgetEvent(e)); -} - - - -PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLayoutItem::setGeometry(rect0); -} -QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSizeF(); -} -void PythonQtShell_QGraphicsLayoutItem::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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::setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGraphicsItem(item)); -} - -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::setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setOwnedByLayout(ownedByLayout)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) -{ - ( theWrappedObject->setParentLayoutItem(parent)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) -{ - ( theWrappedObject->setPreferredHeight(height)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPreferredSize(size)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->setPreferredSize(w, h)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setPreferredWidth(width)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) -{ - ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); -} - -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) -{ - ( theWrappedObject->setSizePolicy(policy)); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - -QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->sizePolicy()); -} - -void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_updateGeometry()); -} - - - -PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsLineItem::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::advance(phase0); -} -QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::boundingRect(); -} -bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::contains(point0); -} -void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::dropEvent(event0); -} -QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::extension(variant0); -} -void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::focusInEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::opaqueArea(); -} -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::paint(painter0, option1, widget2); -} -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::shape(); -} -bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::supportsExtension(extension0); -} -int PythonQtShell_QGraphicsLineItem::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLineItem::type(); -} -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLineItem::wheelEvent(event0); -} -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(line, parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } - -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::setExtension(QGraphicsLineItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -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()); -} - -bool PythonQtWrapper_QGraphicsLineItem::supportsExtension(QGraphicsLineItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsLineItem::type(QGraphicsLineItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->promoted_type()); -} - - - -PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGraphicsLinearLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLinearLayout::count(); -} -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsLinearLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLinearLayout::invalidate(); -} -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsLinearLayout::itemAt(index0); -} -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("removeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLinearLayout::removeAt(index0); -} -void PythonQtShell_QGraphicsLinearLayout::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLinearLayout::updateGeometry(); -} -void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsLinearLayout::widgetEvent(e0); -} -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(parent); } - -QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } - -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); -} - -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) -{ - ( theWrappedObject->addStretch(stretch)); -} - -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const -{ - return ( theWrappedObject->alignment(item)); -} - -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToPython 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)); -} - - - -PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsObject::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::advance(phase0); -} -QRectF PythonQtShell_QGraphicsObject::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRectF(); -} -void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::childEvent(arg__1); -} -bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::contains(point0); -} -void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsObject::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::customEvent(arg__1); -} -void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::dropEvent(event0); -} -bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::event(ev0); -} -bool PythonQtShell_QGraphicsObject::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::eventFilter(arg__1, arg__2); -} -QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::extension(variant0); -} -void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::focusInEvent(event0); -} -void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::opaqueArea(); -} -void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsObject::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::shape(); -} -bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::supportsExtension(extension0); -} -void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::timerEvent(arg__1); -} -int PythonQtShell_QGraphicsObject::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsObject::type(); -} -void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsObject::wheelEvent(event0); -} -QGraphicsObject* PythonQtWrapper_QGraphicsObject::new_QGraphicsObject(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsObject(parent); } - -bool PythonQtWrapper_QGraphicsObject::event(QGraphicsObject* theWrappedObject, QEvent* ev) -{ - return ( ((PythonQtPublicPromoter_QGraphicsObject*)theWrappedObject)->promoted_event(ev)); -} - -void PythonQtWrapper_QGraphicsObject::grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) -{ - ( theWrappedObject->grabGesture(type, flags)); -} - -void PythonQtWrapper_QGraphicsObject::ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type) -{ - ( theWrappedObject->ungrabGesture(type)); -} - -QString PythonQtWrapper_QGraphicsObject::py_toString(QGraphicsObject* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRectFor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue; - void* args[2] = {NULL, (void*)&sourceRect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); -} -void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsOpacityEffect::childEvent(arg__1); -} -void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsOpacityEffect::customEvent(arg__1); -} -void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsOpacityEffect::draw(painter0); -} -bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsOpacityEffect::event(arg__1); -} -bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsOpacityEffect::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sourceChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsOpacityEffect::sourceChanged(flags0); -} -void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPathItem::isObscuredBy(item0); -} -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPathItem::opaqueArea(); -} -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(parent); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(path, parent); } - -QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPathItem::extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_extension(variant)); -} - -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::setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setPath(path)); -} - -QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPathItem::supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.h deleted file mode 100644 index 111df7d50..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ /dev/null @@ -1,2026 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtWrapper_QFontDatabase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(WritingSystem ) -enum WritingSystem{ - Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; -public slots: -QFontDatabase* new_QFontDatabase(); -QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { -QFontDatabase* a = new QFontDatabase(); -*((QFontDatabase*)a) = other; -return a; } -void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } - int static_QFontDatabase_addApplicationFont(const QString& fileName); - int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); - QStringList static_QFontDatabase_applicationFontFamilies(int id); - bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; - QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; - bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; - bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); - bool static_QFontDatabase_removeAllApplicationFonts(); - bool static_QFontDatabase_removeApplicationFont(int id); - QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); - QList static_QFontDatabase_standardSizes(); - QString styleString(QFontDatabase* theWrappedObject, const QFont& font); - QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); - QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; - bool static_QFontDatabase_supportsThreadedFontRendering(); - int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); - QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); - QList writingSystems(QFontDatabase* theWrappedObject) const; - QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; -}; - - - - - -class PythonQtShell_QFontDialog : public QFontDialog -{ -public: - PythonQtShell_QFontDialog(QWidget* parent = 0):QFontDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = 0):QFontDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontDialog(); - -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* object, QEvent* event); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QFontDialog::eventFilter(object, event); } -inline void promoted_open() { QFontDialog::open(); } -}; - -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); - bool eventFilter(QFontDialog* theWrappedObject, QObject* object, QEvent* event); - QFont static_QFontDialog_getFont(bool* ok, QWidget* parent = 0); - QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent = 0, const QString& title = QString(), QFontDialog::FontDialogOptions options = 0); - 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; - QString styleName(QFontInfo* theWrappedObject) const; - void swap(QFontInfo* theWrappedObject, QFontInfo& other); - 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; - bool inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const; - int leading(QFontMetrics* theWrappedObject) const; - int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; - int lineSpacing(QFontMetrics* theWrappedObject) const; - int lineWidth(QFontMetrics* theWrappedObject) const; - int maxWidth(QFontMetrics* theWrappedObject) const; - int minLeftBearing(QFontMetrics* theWrappedObject) const; - int minRightBearing(QFontMetrics* theWrappedObject) const; - int overlinePos(QFontMetrics* theWrappedObject) const; - int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; - QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; - int strikeOutPos(QFontMetrics* theWrappedObject) const; - void swap(QFontMetrics* theWrappedObject, QFontMetrics& other); - QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const; - int underlinePos(QFontMetrics* theWrappedObject) const; - int width(QFontMetrics* theWrappedObject, QChar arg__1) const; - int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; - int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const; - int xHeight(QFontMetrics* theWrappedObject) const; -}; - - - - - -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; - bool inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const; - qreal leading(QFontMetricsF* theWrappedObject) const; - qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; - qreal lineSpacing(QFontMetricsF* theWrappedObject) const; - qreal lineWidth(QFontMetricsF* theWrappedObject) const; - qreal maxWidth(QFontMetricsF* theWrappedObject) const; - qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; - qreal minRightBearing(QFontMetricsF* theWrappedObject) const; - qreal overlinePos(QFontMetricsF* theWrappedObject) const; - qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; - QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; - qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; - void swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other); - QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; - qreal underlinePos(QFontMetricsF* theWrappedObject) const; - qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; - qreal width(QFontMetricsF* theWrappedObject, const QString& string) const; - qreal xHeight(QFontMetricsF* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QFormLayout : public QFormLayout -{ -public: - PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFormLayout(); - -virtual void addItem(QLayoutItem* item); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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, PythonQtPassOwnershipToCPP layout); - void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); - void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); - void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget); - void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); - void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); - int count(QFormLayout* theWrappedObject) const; - 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, PythonQtPassOwnershipToCPP layout); - void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); - void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); - void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget); - void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); - void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); - void invalidate(QFormLayout* theWrappedObject); - 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, PythonQtPassOwnershipToCPP item); - void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); - void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout); - void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy); - void setSpacing(QFormLayout* theWrappedObject, int arg__1); - void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing); - void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget); - QSize sizeHint(QFormLayout* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QFrame(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFrame : public QFrame -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); } -inline void promoted_drawFrame(QPainter* arg__1) { QFrame::drawFrame(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); - void drawFrame(QFrame* theWrappedObject, QPainter* 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) {}; - - ~PythonQtShell_QGesture(); - -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: -Q_ENUMS(GestureCancelPolicy ) -enum GestureCancelPolicy{ - CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext}; -public slots: -QGesture* new_QGesture(QObject* parent = 0); -void delete_QGesture(QGesture* obj) { delete obj; } - QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const; - Qt::GestureType gestureType(QGesture* theWrappedObject) const; - bool hasHotSpot(QGesture* theWrappedObject) const; - QPointF hotSpot(QGesture* theWrappedObject) const; - void setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy); - void setHotSpot(QGesture* theWrappedObject, const QPointF& value); - Qt::GestureState state(QGesture* theWrappedObject) const; - void unsetHotSpot(QGesture* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QGestureEvent : public QObject -{ Q_OBJECT -public: -public slots: -QGestureEvent* new_QGestureEvent(const QList& gestures); -void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } - void accept(QGestureEvent* theWrappedObject); - void accept(QGestureEvent* theWrappedObject, QGesture* arg__1); - void accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); - QList activeGestures(QGestureEvent* theWrappedObject) const; - QList canceledGestures(QGestureEvent* theWrappedObject) const; - QGesture* gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const; - QList gestures(QGestureEvent* theWrappedObject) const; - void ignore(QGestureEvent* theWrappedObject); - void ignore(QGestureEvent* theWrappedObject, QGesture* arg__1); - void ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); - bool isAccepted(QGestureEvent* theWrappedObject) const; - bool isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const; - bool isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const; - QPointF mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const; - void setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2); - void setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2); - void setAccepted(QGestureEvent* theWrappedObject, bool accepted); - void setWidget(QGestureEvent* theWrappedObject, QWidget* widget); - QWidget* widget(QGestureEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGestureRecognizer : public QGestureRecognizer -{ -public: - PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(NULL) {}; - - ~PythonQtShell_QGestureRecognizer(); - -virtual QGesture* create(QObject* target); -virtual QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event); -virtual void reset(QGesture* state); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer -{ public: -inline QGesture* promoted_create(QObject* target) { return QGestureRecognizer::create(target); } -inline QGestureRecognizer::Result promoted_recognize(QGesture* state, QObject* watched, QEvent* event) { return this->recognize(state, watched, event); } -inline void promoted_reset(QGesture* state) { QGestureRecognizer::reset(state); } -}; - -class PythonQtWrapper_QGestureRecognizer : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ResultFlag ) -Q_FLAGS(Result ) -enum ResultFlag{ - Ignore = QGestureRecognizer::Ignore, MayBeGesture = QGestureRecognizer::MayBeGesture, TriggerGesture = QGestureRecognizer::TriggerGesture, FinishGesture = QGestureRecognizer::FinishGesture, CancelGesture = QGestureRecognizer::CancelGesture, ResultState_Mask = QGestureRecognizer::ResultState_Mask, ConsumeEventHint = QGestureRecognizer::ConsumeEventHint, ResultHint_Mask = QGestureRecognizer::ResultHint_Mask}; -Q_DECLARE_FLAGS(Result, ResultFlag) -public slots: -QGestureRecognizer* new_QGestureRecognizer(); -void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } - QGesture* create(QGestureRecognizer* theWrappedObject, QObject* target); - QGestureRecognizer::Result recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event); - Qt::GestureType static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer); - void reset(QGestureRecognizer* theWrappedObject, QGesture* state); - void static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type); -}; - - - - - -class PythonQtWrapper_QGlyphRun : public QObject -{ Q_OBJECT -public: -Q_ENUMS(GlyphRunFlag ) -Q_FLAGS(GlyphRunFlags ) -enum GlyphRunFlag{ - Overline = QGlyphRun::Overline, Underline = QGlyphRun::Underline, StrikeOut = QGlyphRun::StrikeOut, RightToLeft = QGlyphRun::RightToLeft, SplitLigature = QGlyphRun::SplitLigature}; -Q_DECLARE_FLAGS(GlyphRunFlags, GlyphRunFlag) -public slots: -QGlyphRun* new_QGlyphRun(); -QGlyphRun* new_QGlyphRun(const QGlyphRun& other); -void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } - QRectF boundingRect(QGlyphRun* theWrappedObject) const; - void clear(QGlyphRun* theWrappedObject); - QGlyphRun::GlyphRunFlags flags(QGlyphRun* theWrappedObject) const; - QVector glyphIndexes(QGlyphRun* theWrappedObject) const; - bool isEmpty(QGlyphRun* theWrappedObject) const; - bool isRightToLeft(QGlyphRun* theWrappedObject) const; - bool __ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; - QGlyphRun* operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other); - bool __eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; - bool overline(QGlyphRun* theWrappedObject) const; - QVector positions(QGlyphRun* theWrappedObject) const; - QRawFont rawFont(QGlyphRun* theWrappedObject) const; - void setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect); - void setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled = true); - void setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags); - void setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes); - void setOverline(QGlyphRun* theWrappedObject, bool overline); - void setPositions(QGlyphRun* theWrappedObject, const QVector& positions); - void setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size); - void setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont); - void setRightToLeft(QGlyphRun* theWrappedObject, bool on); - void setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut); - void setUnderline(QGlyphRun* theWrappedObject, bool underline); - bool strikeOut(QGlyphRun* theWrappedObject) const; - void swap(QGlyphRun* theWrappedObject, QGlyphRun& other); - bool underline(QGlyphRun* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QGraphicsAnchorLayout(); - -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); } -inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsAnchorLayout::sizeHint(which, constraint); } -}; - -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); - QSizeF sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect -{ -public: - PythonQtShell_QGraphicsBlurEffect(QObject* parent = 0):QGraphicsBlurEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsBlurEffect(); - -virtual QRectF boundingRectFor(const QRectF& rect) 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_QGraphicsBlurEffect : public QGraphicsBlurEffect -{ public: -inline QRectF promoted_boundingRectFor(const QRectF& rect) const { return QGraphicsBlurEffect::boundingRectFor(rect); } -inline void promoted_draw(QPainter* painter) { QGraphicsBlurEffect::draw(painter); } -}; - -class PythonQtWrapper_QGraphicsBlurEffect : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BlurHint ) -Q_FLAGS(BlurHints ) -enum BlurHint{ - PerformanceHint = QGraphicsBlurEffect::PerformanceHint, QualityHint = QGraphicsBlurEffect::QualityHint, AnimationHint = QGraphicsBlurEffect::AnimationHint}; -Q_DECLARE_FLAGS(BlurHints, BlurHint) -public slots: -QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = 0); -void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } - QGraphicsBlurEffect::BlurHints blurHints(QGraphicsBlurEffect* theWrappedObject) const; - qreal blurRadius(QGraphicsBlurEffect* theWrappedObject) const; - QRectF boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const; - void draw(QGraphicsBlurEffect* theWrappedObject, QPainter* painter); -}; - - - - - -class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect -{ -public: - PythonQtShell_QGraphicsColorizeEffect(QObject* parent = 0):QGraphicsColorizeEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsColorizeEffect(); - -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_QGraphicsColorizeEffect : public QGraphicsColorizeEffect -{ public: -inline void promoted_draw(QPainter* painter) { QGraphicsColorizeEffect::draw(painter); } -}; - -class PythonQtWrapper_QGraphicsColorizeEffect : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = 0); -void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } - QColor color(QGraphicsColorizeEffect* theWrappedObject) const; - void draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter); - qreal strength(QGraphicsColorizeEffect* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect -{ -public: - PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = 0):QGraphicsDropShadowEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsDropShadowEffect(); - -virtual QRectF boundingRectFor(const QRectF& rect) 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_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect -{ public: -inline QRectF promoted_boundingRectFor(const QRectF& rect) const { return QGraphicsDropShadowEffect::boundingRectFor(rect); } -inline void promoted_draw(QPainter* painter) { QGraphicsDropShadowEffect::draw(painter); } -}; - -class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = 0); -void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } - qreal blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const; - QRectF boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const; - QColor color(QGraphicsDropShadowEffect* theWrappedObject) const; - void draw(QGraphicsDropShadowEffect* theWrappedObject, QPainter* painter); - QPointF offset(QGraphicsDropShadowEffect* theWrappedObject) const; - qreal xOffset(QGraphicsDropShadowEffect* theWrappedObject) const; - qreal yOffset(QGraphicsDropShadowEffect* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsEffect : public QGraphicsEffect -{ -public: - PythonQtShell_QGraphicsEffect(QObject* parent = 0):QGraphicsEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsEffect(); - -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_draw(QPainter* painter) { this->draw(painter); } -inline void promoted_drawSource(QPainter* painter) { QGraphicsEffect::drawSource(painter); } -inline QRectF promoted_sourceBoundingRect(Qt::CoordinateSystem system = Qt::LogicalCoordinates) const { return QGraphicsEffect::sourceBoundingRect(system); } -inline void promoted_sourceChanged(QGraphicsEffect::ChangeFlags flags) { QGraphicsEffect::sourceChanged(flags); } -inline bool promoted_sourceIsPixmap() const { return QGraphicsEffect::sourceIsPixmap(); } -inline QPixmap promoted_sourcePixmap(Qt::CoordinateSystem system = Qt::LogicalCoordinates, QPoint* offset = 0, QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const { return QGraphicsEffect::sourcePixmap(system, offset, mode); } -inline void promoted_updateBoundingRect() { QGraphicsEffect::updateBoundingRect(); } -}; - -class PythonQtWrapper_QGraphicsEffect : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ChangeFlag PixmapPadMode ) -Q_FLAGS(ChangeFlags ) -enum ChangeFlag{ - SourceAttached = QGraphicsEffect::SourceAttached, SourceDetached = QGraphicsEffect::SourceDetached, SourceBoundingRectChanged = QGraphicsEffect::SourceBoundingRectChanged, SourceInvalidated = QGraphicsEffect::SourceInvalidated}; -enum PixmapPadMode{ - NoPad = QGraphicsEffect::NoPad, PadToTransparentBorder = QGraphicsEffect::PadToTransparentBorder, PadToEffectiveBoundingRect = QGraphicsEffect::PadToEffectiveBoundingRect}; -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; - void draw(QGraphicsEffect* theWrappedObject, QPainter* painter); - void drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter); - bool isEnabled(QGraphicsEffect* theWrappedObject) const; - QRectF sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system = Qt::LogicalCoordinates) const; - void sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags); - bool sourceIsPixmap(QGraphicsEffect* theWrappedObject) const; - QPixmap sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system = Qt::LogicalCoordinates, QPoint* offset = 0, QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const; - void updateBoundingRect(QGraphicsEffect* theWrappedObject); -}; - - - - - -class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem -{ -public: - PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = 0):QGraphicsEllipseItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0):QGraphicsEllipseItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsEllipseItem(); - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsEllipseItem::extension(variant); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsEllipseItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsEllipseItem::opaqueArea(); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsEllipseItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsEllipseItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0); -QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0); -void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; - bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; - QVariant extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) 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 setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant); - void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect); - void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const; - int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; - int startAngle(QGraphicsEllipseItem* theWrappedObject) const; - bool supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const; - int type(QGraphicsEllipseItem* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout -{ -public: - PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0):QGraphicsGridLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsGridLayout(); - -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, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment = 0); - void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP 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); - void removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item); - 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):QGraphicsItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 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: -enum Extension{ - UserExtension = QGraphicsItem::UserExtension}; -inline void promoted_addToIndex() { QGraphicsItem::addToIndex(); } -inline void promoted_advance(int phase) { QGraphicsItem::advance(phase); } -inline QRectF promoted_boundingRect() const { return this->boundingRect(); } -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 void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { this->paint(painter, option, widget); } -inline void promoted_prepareGeometryChange() { QGraphicsItem::prepareGeometryChange(); } -inline void promoted_removeFromIndex() { QGraphicsItem::removeFromIndex(); } -inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsItem::sceneEvent(event); } -inline bool promoted_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsItem::sceneEventFilter(watched, event); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath promoted_shape() const { return QGraphicsItem::shape(); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsItem::supportsExtension((QGraphicsItem::Extension)extension); } -inline int promoted_type() const { return QGraphicsItem::type(); } -inline void promoted_updateMicroFocus() { QGraphicsItem::updateMicroFocus(); } -inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsItem::wheelEvent(event); } -}; - -class PythonQtWrapper_QGraphicsItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CacheMode Extension GraphicsItemChange GraphicsItemFlag PanelModality enum_1 ) -Q_FLAGS(GraphicsItemFlags ) -enum CacheMode{ - NoCache = QGraphicsItem::NoCache, ItemCoordinateCache = QGraphicsItem::ItemCoordinateCache, DeviceCoordinateCache = QGraphicsItem::DeviceCoordinateCache}; -enum Extension{ - UserExtension = PythonQtPublicPromoter_QGraphicsItem::UserExtension}; -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, ItemRotationChange = QGraphicsItem::ItemRotationChange, ItemRotationHasChanged = QGraphicsItem::ItemRotationHasChanged, ItemScaleChange = QGraphicsItem::ItemScaleChange, ItemScaleHasChanged = QGraphicsItem::ItemScaleHasChanged, ItemTransformOriginPointChange = QGraphicsItem::ItemTransformOriginPointChange, ItemTransformOriginPointHasChanged = QGraphicsItem::ItemTransformOriginPointHasChanged}; -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, ItemStopsClickFocusPropagation = QGraphicsItem::ItemStopsClickFocusPropagation, ItemStopsFocusHandling = QGraphicsItem::ItemStopsFocusHandling}; -enum PanelModality{ - NonModal = QGraphicsItem::NonModal, PanelModal = QGraphicsItem::PanelModal, SceneModal = QGraphicsItem::SceneModal}; -enum enum_1{ - Type = QGraphicsItem::Type, UserType = QGraphicsItem::UserType}; -Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) -public slots: -QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = 0); -void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } - bool acceptDrops(QGraphicsItem* theWrappedObject) const; - bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; - bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; - Qt::MouseButtons acceptedMouseButtons(QGraphicsItem* theWrappedObject) const; - void addToIndex(QGraphicsItem* theWrappedObject); - void advance(QGraphicsItem* theWrappedObject, int phase); - QRectF boundingRect(QGraphicsItem* theWrappedObject) const; - 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 QRectF& rect = QRectF()) 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; - void paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); - QGraphicsItem* panel(QGraphicsItem* theWrappedObject) const; - QGraphicsItem::PanelModality panelModality(QGraphicsItem* theWrappedObject) const; - QGraphicsItem* parentItem(QGraphicsItem* theWrappedObject) const; - QGraphicsObject* parentObject(QGraphicsItem* theWrappedObject) const; - QGraphicsWidget* parentWidget(QGraphicsItem* theWrappedObject) const; - QPointF pos(QGraphicsItem* theWrappedObject) const; - void prepareGeometryChange(QGraphicsItem* theWrappedObject); - void removeFromIndex(QGraphicsItem* theWrappedObject); - void removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem); - void resetTransform(QGraphicsItem* theWrappedObject); - qreal rotation(QGraphicsItem* theWrappedObject) const; - qreal scale(QGraphicsItem* theWrappedObject) const; - 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 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 setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant); - 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, PythonQtNewOwnerOfThis 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 show(QGraphicsItem* theWrappedObject); - void stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling); - bool supportsExtension(QGraphicsItem* theWrappedObject, int extension) const; - 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; - 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 updateMicroFocus(QGraphicsItem* theWrappedObject); - 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) {}; - - ~PythonQtShell_QGraphicsItemAnimation(); - -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):QGraphicsItemGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItemGroup(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 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); -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) {}; - - ~PythonQtShell_QGraphicsLayout(); - -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int i) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout -{ public: -inline void promoted_addChildLayoutItem(QGraphicsLayoutItem* layoutItem) { QGraphicsLayout::addChildLayoutItem(layoutItem); } -inline int promoted_count() const { return this->count(); } -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 QGraphicsLayoutItem* promoted_itemAt(int i) const { return this->itemAt(i); } -inline void promoted_removeAt(int index) { this->removeAt(index); } -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 addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem); - int count(QGraphicsLayout* theWrappedObject) const; - void getContentsMargins(QGraphicsLayout* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; - bool static_QGraphicsLayout_instantInvalidatePropagation(); - void invalidate(QGraphicsLayout* theWrappedObject); - bool isActivated(QGraphicsLayout* theWrappedObject) const; - QGraphicsLayoutItem* itemAt(QGraphicsLayout* theWrappedObject, int i) const; - void removeAt(QGraphicsLayout* theWrappedObject, int index); - void setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); - void static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable); - 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) {}; - - ~PythonQtShell_QGraphicsLayoutItem(); - -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_setGraphicsItem(QGraphicsItem* item) { QGraphicsLayoutItem::setGraphicsItem(item); } -inline void promoted_setOwnedByLayout(bool ownedByLayout) { QGraphicsLayoutItem::setOwnedByLayout(ownedByLayout); } -inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } -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 setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item); - 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 setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout); - 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); - QSizeF sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - QSizePolicy sizePolicy(QGraphicsLayoutItem* theWrappedObject) const; - void updateGeometry(QGraphicsLayoutItem* theWrappedObject); -}; - - - - - -class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem -{ -public: - PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = 0):QGraphicsLineItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0):QGraphicsLineItem(line, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 0):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsLineItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 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_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 void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsLineItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath promoted_shape() const { return QGraphicsLineItem::shape(); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsLineItem::supportsExtension((QGraphicsItem::Extension)extension); } -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); -QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = 0); -QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = 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 setExtension(QGraphicsLineItem* theWrappedObject, int extension, const QVariant& variant); - 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; - bool supportsExtension(QGraphicsLineItem* theWrappedObject, int extension) 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) {}; - - ~PythonQtShell_QGraphicsLinearLayout(); - -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToPython 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) {}; - - ~PythonQtShell_QGraphicsObject(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual void childEvent(QChildEvent* arg__1); -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 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* ev); -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 = 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 void timerEvent(QTimerEvent* arg__1); -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsObject : public QGraphicsObject -{ public: -inline bool promoted_event(QEvent* ev) { return QGraphicsObject::event(ev); } -inline void promoted_updateMicroFocus() { QGraphicsObject::updateMicroFocus(); } -}; - -class PythonQtWrapper_QGraphicsObject : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsObject* new_QGraphicsObject(QGraphicsItem* parent = 0); -void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } - bool event(QGraphicsObject* theWrappedObject, QEvent* ev); - void grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); - void ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type); - QString py_toString(QGraphicsObject*); -}; - - - - - -class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect -{ -public: - PythonQtShell_QGraphicsOpacityEffect(QObject* parent = 0):QGraphicsOpacityEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsOpacityEffect(); - -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):QGraphicsPathItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0):QGraphicsPathItem(path, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPathItem(); - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsPathItem::extension(variant); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsPathItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsPathItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = 0); -void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const; - bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; - QVariant extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) 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 setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant); - void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; - bool supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const; - int type(QGraphicsPathItem* theWrappedObject) const; -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp deleted file mode 100644 index cb58ec07f..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ /dev/null @@ -1,12215 +0,0 @@ -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::advance(phase0); -} -QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::boundingRect(); -} -bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - 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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::contains(point0); -} -void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::dropEvent(event0); -} -QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::extension(variant0); -} -void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::focusInEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::opaqueArea(); -} -void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::paint(painter0, option1, widget2); -} -bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::shape(); -} -bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::supportsExtension(extension0); -} -int PythonQtShell_QGraphicsPixmapItem::type() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPixmapItem::type(); -} -void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsPixmapItem::wheelEvent(event0); -} -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPixmapItem(parent); } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent); } - -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::setExtension(QGraphicsPixmapItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -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()); -} - -bool PythonQtWrapper_QGraphicsPixmapItem::supportsExtension(QGraphicsPixmapItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->transformationMode()); -} - -int PythonQtWrapper_QGraphicsPixmapItem::type(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->promoted_type()); -} - - - -PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsPolygonItem::isObscuredBy(item0); -} -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsPolygonItem::opaqueArea(); -} -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } - -QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPolygonItem::extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_extension(variant)); -} - -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -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::setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) -{ - ( theWrappedObject->setFillRule(rule)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->setPolygon(polygon)); -} - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::shape(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::changeEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::childEvent(arg__1); -} -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::closeEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::event(event0); -} -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::eventFilter(object0, event1); -} -bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("grabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::grabKeyboardEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("grabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::grabMouseEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::hideEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initStyleOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::initStyleOption(option0); -} -void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::moveEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintWindowFrame"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); -} -void PythonQtShell_QGraphicsProxyWidget::polishEvent() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("polishEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::polishEvent(); -} -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("propertyChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::propertyChange(propertyName0, value1); -} -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::resizeEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::setGeometry(rect0); -} -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::showEvent(event0); -} -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::sizeHint(which0, constraint1); -} -void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::timerEvent(arg__1); -} -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("ungrabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::ungrabKeyboardEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("ungrabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::ungrabMouseEvent(event0); -} -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsProxyWidget::updateGeometry(); -} -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("windowFrameEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::windowFrameEvent(e0); -} -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("windowFrameSectionAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsProxyWidget::windowFrameSectionAt(pos0); -} -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } - -void PythonQtWrapper_QGraphicsProxyWidget::contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) -{ - return ( theWrappedObject->createProxyForChildWidget(child)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::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)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hideEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverEnterEvent(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::inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::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, PythonQtPassOwnershipToCPP 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)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_wheelEvent(event)); -} - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - - - -PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsRectItem::isObscuredBy(item0); -} -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsRectItem::opaqueArea(); -} -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(rect, parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsRectItem::extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_extension(variant)); -} - -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::setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::shape(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsRectItem::supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("applyTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsRotation::applyTo(matrix0); -} -void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsRotation::childEvent(arg__1); -} -void PythonQtShell_QGraphicsRotation::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsRotation::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsRotation::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsRotation::event(arg__1); -} -bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsRotation::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("applyTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScale::applyTo(matrix0); -} -void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScale::childEvent(arg__1); -} -void PythonQtShell_QGraphicsScale::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScale::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsScale::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsScale::event(arg__1); -} -bool PythonQtShell_QGraphicsScale::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsScale::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - - -PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::childEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsScene::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::customEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawBackground"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::drawBackground(painter0, rect1); -} -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawForeground"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::drawForeground(painter0, rect1); -} -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawItems"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); -} -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::dropEvent(event0); -} -bool PythonQtShell_QGraphicsScene::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsScene::event(event0); -} -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsScene::eventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::focusInEvent(event0); -} -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::helpEvent(event0); -} -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsScene::inputMethodQuery(query0); -} -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::mouseReleaseEvent(event0); -} -void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::timerEvent(arg__1); -} -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsScene::wheelEvent(event0); -} -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(sceneRect, parent); } - -QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) -{ -return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } - -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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 QTransform& deviceTransform) const -{ - return ( theWrappedObject->itemAt(pos, deviceTransform)); -} - -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, Qt::SortOrder order) const -{ - return ( theWrappedObject->items(order)); -} - -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, 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, 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, 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, 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, PythonQtPassOwnershipToPython 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, 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)); -} - - - -PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGraphicsSimpleTextItem::isObscuredBy(item0); -} -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsSimpleTextItem::opaqueArea(); -} -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(parent); } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } - -QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsSimpleTextItem::extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -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::setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::shape(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTextItem::childEvent(arg__1); -} -void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTextItem::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsTextItem::event(ev0); -} -bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsTextItem::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTextItem::timerEvent(arg__1); -} -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsTextItem(parent); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsTextItem(text, parent); } - -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)); -} - -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextColor()); -} - -QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( theWrappedObject->isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->opaqueArea()); -} - -bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) -{ - ( theWrappedObject->setDefaultTextColor(c)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -void PythonQtWrapper_QGraphicsTextItem::setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsTextItem::supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textWidth()); -} - -QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("applyTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTransform::childEvent(arg__1); -} -void PythonQtShell_QGraphicsTransform::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTransform::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsTransform::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsTransform::event(arg__1); -} -bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsTransform::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsTransform::timerEvent(arg__1); -} -QGraphicsTransform* PythonQtWrapper_QGraphicsTransform::new_QGraphicsTransform(QObject* parent) -{ -return new PythonQtShell_QGraphicsTransform(parent); } - -void PythonQtWrapper_QGraphicsTransform::applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const -{ - ( ((PythonQtPublicPromoter_QGraphicsTransform*)theWrappedObject)->promoted_applyTo(matrix)); -} - - - -PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::actionEvent(arg__1); -} -void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::changeEvent(arg__1); -} -void PythonQtShell_QGraphicsView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::childEvent(arg__1); -} -void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::closeEvent(arg__1); -} -void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::customEvent(arg__1); -} -int PythonQtShell_QGraphicsView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::devType(); -} -void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawBackground"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::drawBackground(painter0, rect1); -} -void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawForeground"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::drawForeground(painter0, rect1); -} -void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawItems"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::drawItems(painter0, numItems1, items2, options3); -} -void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::dropEvent(event0); -} -void PythonQtShell_QGraphicsView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::enterEvent(arg__1); -} -bool PythonQtShell_QGraphicsView::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::event(event0); -} -bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::focusInEvent(event0); -} -bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::focusNextPrevChild(next0); -} -void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::focusOutEvent(event0); -} -bool PythonQtShell_QGraphicsView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::hasHeightForWidth(); -} -int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::heightForWidth(arg__1); -} -void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::hideEvent(arg__1); -} -void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::initPainter(painter0); -} -void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::inputMethodQuery(query0); -} -void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::leaveEvent(arg__1); -} -int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::metric(arg__1); -} -void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::mouseReleaseEvent(event0); -} -void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::moveEvent(arg__1); -} -bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::paintEngine(); -} -void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::redirected(offset0); -} -void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::resizeEvent(event0); -} -void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::setupViewport(widget0); -} -QPainter* PythonQtShell_QGraphicsView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::sharedPainter(); -} -void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::showEvent(event0); -} -void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::tabletEvent(arg__1); -} -void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::timerEvent(arg__1); -} -bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::viewportEvent(event0); -} -QSize PythonQtShell_QGraphicsView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsView::viewportSizeHint(); -} -void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsView::wheelEvent(event0); -} -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::setupViewport(QGraphicsView* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_setupViewport(widget)); -} - -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)); -} - - - -PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::changeEvent(event0); -} -void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::childEvent(arg__1); -} -void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::closeEvent(event0); -} -void PythonQtShell_QGraphicsWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::customEvent(arg__1); -} -bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::event(event0); -} -bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); -} -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("grabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::grabKeyboardEvent(event0); -} -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("grabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::grabMouseEvent(event0); -} -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::hideEvent(event0); -} -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initStyleOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::initStyleOption(option0); -} -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::moveEvent(event0); -} -void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintWindowFrame"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); -} -void PythonQtShell_QGraphicsWidget::polishEvent() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("polishEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::polishEvent(); -} -QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("propertyChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue; - void* args[3] = {NULL, (void*)&propertyName0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::propertyChange(propertyName0, value1); -} -void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::resizeEvent(event0); -} -void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::setGeometry(rect0); -} -void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::showEvent(event0); -} -QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::sizeHint(which0, constraint1); -} -void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::timerEvent(arg__1); -} -void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("ungrabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::ungrabKeyboardEvent(event0); -} -void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("ungrabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::ungrabMouseEvent(event0); -} -void PythonQtShell_QGraphicsWidget::updateGeometry() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGraphicsWidget::updateGeometry(); -} -bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("windowFrameEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::windowFrameEvent(e0); -} -Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("windowFrameSectionAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGraphicsWidget::windowFrameSectionAt(pos0); -} -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()); -} - -bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->autoFillBackground()); -} - -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)); -} - -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - -bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -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()); -} - -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - -QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( ((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)); -} - -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) -{ - ( theWrappedObject->setAttribute(attribute, on)); -} - -void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoFillBackground(enabled)); -} - -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, 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, PythonQtPassOwnershipToCPP layout) -{ - ( theWrappedObject->setLayout(layout)); -} - -void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) -{ - ( theWrappedObject->setPalette(palette)); -} - -void PythonQtWrapper_QGraphicsWidget::setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled) -{ - ( theWrappedObject->setShortcutAutoRepeat(id, enabled)); -} - -void PythonQtWrapper_QGraphicsWidget::setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled) -{ - ( theWrappedObject->setShortcutEnabled(id, enabled)); -} - -void PythonQtWrapper_QGraphicsWidget::setStyle(QGraphicsWidget* theWrappedObject, QStyle* style) -{ - ( theWrappedObject->setStyle(style)); -} - -void PythonQtWrapper_QGraphicsWidget::static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second) -{ - (QGraphicsWidget::setTabOrder(first, second)); -} - -void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) -{ - ( theWrappedObject->setWindowFlags(wFlags)); -} - -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, 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()); -} - - - -PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGridLayout::addItem(arg__1); -} -void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGridLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::controlTypes(); -} -int PythonQtShell_QGridLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::count(); -} -void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGridLayout::customEvent(arg__1); -} -bool PythonQtShell_QGridLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::event(arg__1); -} -bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::expandingDirections(); -} -QRect PythonQtShell_QGridLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::geometry(); -} -int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGridLayout::indexOf(arg__1); -} -void PythonQtShell_QGridLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGridLayout::invalidate(); -} -bool PythonQtShell_QGridLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGridLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::itemAt(index0); -} -QLayout* PythonQtShell_QGridLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QGridLayout::layout(); -} -QSize PythonQtShell_QGridLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::maximumSize(); -} -QSize PythonQtShell_QGridLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::minimumSize(); -} -void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGridLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGridLayout::takeAt(index0); -} -void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); -} - -void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) -{ - ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); -} - -void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) -{ - ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); -} - -QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->cellRect(row, column)); -} - -int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnMinimumWidth(column)); -} - -int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnStretch(column)); -} - -int PythonQtWrapper_QGridLayout::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) const -{ - ( 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()); -} - - - -PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGroupBox::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::actionEvent(arg__1); -} -void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::changeEvent(event0); -} -void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::childEvent(event0); -} -void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::closeEvent(arg__1); -} -void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::contextMenuEvent(arg__1); -} -void PythonQtShell_QGroupBox::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::customEvent(arg__1); -} -int PythonQtShell_QGroupBox::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::devType(); -} -void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::dragEnterEvent(arg__1); -} -void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::dragLeaveEvent(arg__1); -} -void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::dragMoveEvent(arg__1); -} -void PythonQtShell_QGroupBox::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::dropEvent(arg__1); -} -void PythonQtShell_QGroupBox::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::enterEvent(arg__1); -} -bool PythonQtShell_QGroupBox::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::event(event0); -} -bool PythonQtShell_QGroupBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::focusInEvent(event0); -} -bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::focusNextPrevChild(next0); -} -void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::focusOutEvent(arg__1); -} -bool PythonQtShell_QGroupBox::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::hasHeightForWidth(); -} -int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::heightForWidth(arg__1); -} -void PythonQtShell_QGroupBox::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::hideEvent(arg__1); -} -void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::initPainter(painter0); -} -void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::keyPressEvent(arg__1); -} -void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::keyReleaseEvent(arg__1); -} -void PythonQtShell_QGroupBox::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::leaveEvent(arg__1); -} -int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::metric(arg__1); -} -void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::mouseMoveEvent(event0); -} -void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::mousePressEvent(event0); -} -void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::mouseReleaseEvent(event0); -} -void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::moveEvent(arg__1); -} -bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::paintEngine(); -} -void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::redirected(offset0); -} -void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::resizeEvent(event0); -} -QPainter* PythonQtShell_QGroupBox::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::sharedPainter(); -} -void PythonQtShell_QGroupBox::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::showEvent(arg__1); -} -QSize PythonQtShell_QGroupBox::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QGroupBox::sizeHint(); -} -void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::tabletEvent(arg__1); -} -void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QGroupBox::timerEvent(arg__1); -} -void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -void PythonQtWrapper_QGroupBox::initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_initStyleOption(option)); -} - -bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); -} - -bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isChecked()); -} - -bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isFlat()); -} - -QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QGroupBox::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()); -} - - - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_allWindows() -{ - return (QGuiApplication::allWindows()); -} - -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationDisplayName() -{ - return (QGuiApplication::applicationDisplayName()); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1) -{ - (QGuiApplication::changeOverrideCursor(arg__1)); -} - -QClipboard* PythonQtWrapper_QGuiApplication::static_QGuiApplication_clipboard() -{ - return (QGuiApplication::clipboard()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopSettingsAware() -{ - return (QGuiApplication::desktopSettingsAware()); -} - -qreal PythonQtWrapper_QGuiApplication::devicePixelRatio(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->devicePixelRatio()); -} - -bool PythonQtWrapper_QGuiApplication::event(QGuiApplication* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QGuiApplication*)theWrappedObject)->promoted_event(arg__1)); -} - -int PythonQtWrapper_QGuiApplication::static_QGuiApplication_exec() -{ - return (QGuiApplication::exec()); -} - -QObject* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusObject() -{ - return (QGuiApplication::focusObject()); -} - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusWindow() -{ - return (QGuiApplication::focusWindow()); -} - -QFont PythonQtWrapper_QGuiApplication::static_QGuiApplication_font() -{ - return (QGuiApplication::font()); -} - -QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() -{ - return (QGuiApplication::inputMethod()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() -{ - return (QGuiApplication::isLeftToRight()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() -{ - return (QGuiApplication::isRightToLeft()); -} - -bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSavingSession()); -} - -bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSessionRestored()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() -{ - return (QGuiApplication::keyboardModifiers()); -} - -Qt::LayoutDirection PythonQtWrapper_QGuiApplication::static_QGuiApplication_layoutDirection() -{ - return (QGuiApplication::layoutDirection()); -} - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_modalWindow() -{ - return (QGuiApplication::modalWindow()); -} - -Qt::MouseButtons PythonQtWrapper_QGuiApplication::static_QGuiApplication_mouseButtons() -{ - return (QGuiApplication::mouseButtons()); -} - -bool PythonQtWrapper_QGuiApplication::notify(QGuiApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QGuiApplication*)theWrappedObject)->promoted_notify(arg__1, arg__2)); -} - -QCursor* PythonQtWrapper_QGuiApplication::static_QGuiApplication_overrideCursor() -{ - return (QGuiApplication::overrideCursor()); -} - -QPalette PythonQtWrapper_QGuiApplication::static_QGuiApplication_palette() -{ - return (QGuiApplication::palette()); -} - -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_platformName() -{ - return (QGuiApplication::platformName()); -} - -QScreen* PythonQtWrapper_QGuiApplication::static_QGuiApplication_primaryScreen() -{ - return (QGuiApplication::primaryScreen()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_queryKeyboardModifiers() -{ - return (QGuiApplication::queryKeyboardModifiers()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_quitOnLastWindowClosed() -{ - return (QGuiApplication::quitOnLastWindowClosed()); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_restoreOverrideCursor() -{ - (QGuiApplication::restoreOverrideCursor()); -} - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_screens() -{ - return (QGuiApplication::screens()); -} - -QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) -{ - (QGuiApplication::setApplicationDisplayName(name)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsAware(bool on) -{ - (QGuiApplication::setDesktopSettingsAware(on)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) -{ - (QGuiApplication::setFont(arg__1)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) -{ - (QGuiApplication::setLayoutDirection(direction)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) -{ - (QGuiApplication::setOverrideCursor(arg__1)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) -{ - (QGuiApplication::setPalette(pal)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) -{ - (QGuiApplication::setQuitOnLastWindowClosed(quit)); -} - -QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() -{ - return (QGuiApplication::styleHints()); -} - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) -{ - return (QGuiApplication::topLevelAt(pos)); -} - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() -{ - return (QGuiApplication::topLevelWindows()); -} - - - -PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHBoxLayout::addItem(arg__1); -} -void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHBoxLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::controlTypes(); -} -int PythonQtShell_QHBoxLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::count(); -} -void PythonQtShell_QHBoxLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHBoxLayout::customEvent(arg__1); -} -bool PythonQtShell_QHBoxLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::event(arg__1); -} -bool PythonQtShell_QHBoxLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QHBoxLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::geometry(); -} -int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QHBoxLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHBoxLayout::invalidate(); -} -bool PythonQtShell_QHBoxLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QHBoxLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::layout(); -} -QSize PythonQtShell_QHBoxLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::maximumSize(); -} -QSize PythonQtShell_QHBoxLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::minimumSize(); -} -void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHBoxLayout::setGeometry(arg__1); -} -QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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); } - - - -PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QHeaderView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::actionEvent(arg__1); -} -void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::changeEvent(arg__1); -} -void PythonQtShell_QHeaderView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::childEvent(arg__1); -} -void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::closeEditor(editor0, hint1); -} -void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::closeEvent(arg__1); -} -void PythonQtShell_QHeaderView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::commitData(editor0); -} -void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::contextMenuEvent(arg__1); -} -void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&old1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::currentChanged(current0, old1); -} -void PythonQtShell_QHeaderView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::customEvent(arg__1); -} -void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QHeaderView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::devType(); -} -void PythonQtShell_QHeaderView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::doItemsLayout(); -} -void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::dragEnterEvent(event0); -} -void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::dragLeaveEvent(event0); -} -void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::dragMoveEvent(event0); -} -void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::dropEvent(event0); -} -bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::edit(index0, trigger1, event2); -} -void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::editorDestroyed(editor0); -} -void PythonQtShell_QHeaderView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::enterEvent(arg__1); -} -bool PythonQtShell_QHeaderView::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::event(e0); -} -bool PythonQtShell_QHeaderView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::focusInEvent(event0); -} -bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::focusNextPrevChild(next0); -} -void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::focusOutEvent(event0); -} -bool PythonQtShell_QHeaderView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::hasHeightForWidth(); -} -int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::heightForWidth(arg__1); -} -void PythonQtShell_QHeaderView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::hideEvent(arg__1); -} -int PythonQtShell_QHeaderView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::horizontalOffset(); -} -void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::indexAt(p0); -} -void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::initPainter(painter0); -} -void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::inputMethodQuery(query0); -} -bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::isIndexHidden(index0); -} -void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::keyPressEvent(event0); -} -void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::keyboardSearch(search0); -} -void PythonQtShell_QHeaderView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::leaveEvent(arg__1); -} -int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::metric(arg__1); -} -void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::mouseDoubleClickEvent(e0); -} -void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::mouseMoveEvent(e0); -} -void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::mousePressEvent(e0); -} -void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::mouseReleaseEvent(e0); -} -void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::moveEvent(arg__1); -} -bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::paintEngine(); -} -void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::paintEvent(e0); -} -void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintSection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::paintSection(painter0, rect1, logicalIndex2); -} -QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::redirected(offset0); -} -void PythonQtShell_QHeaderView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::reset(); -} -void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::resizeEvent(event0); -} -void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::scrollTo(index0, hint1); -} -QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sectionSizeFromContents"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue; - void* args[2] = {NULL, (void*)&logicalIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::sectionSizeFromContents(logicalIndex0); -} -void PythonQtShell_QHeaderView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::selectAll(); -} -QList PythonQtShell_QHeaderView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::selectedIndexes(); -} -void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::selectionCommand(index0, event1); -} -void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::setModel(model0); -} -void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::setRootIndex(index0); -} -void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&flags1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::setSelection(rect0, flags1); -} -void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QHeaderView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::sharedPainter(); -} -void PythonQtShell_QHeaderView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::showEvent(arg__1); -} -int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QHeaderView::sizeHintForColumn(column0); -} -int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QHeaderView::sizeHintForRow(row0); -} -void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::startDrag(supportedActions0); -} -void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::tabletEvent(arg__1); -} -void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::timerEvent(event0); -} -void PythonQtShell_QHeaderView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::updateEditorData(); -} -void PythonQtShell_QHeaderView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::updateEditorGeometries(); -} -void PythonQtShell_QHeaderView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::updateGeometries(); -} -int PythonQtShell_QHeaderView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::verticalOffset(); -} -void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::verticalScrollbarAction(action0); -} -void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::viewOptions(); -} -bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::viewportEvent(e0); -} -QSize PythonQtShell_QHeaderView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::viewportSizeHint(); -} -QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::visualRect(index0); -} -QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QHeaderView::visualRegionForSelection(selection0); -} -void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QHeaderView::wheelEvent(arg__1); -} -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, const QVector& roles) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight, roles)); -} - -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)); -} - -void PythonQtWrapper_QHeaderView::initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initStyleOption(option)); -} - -void PythonQtWrapper_QHeaderView::initialize(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initialize()); -} - -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections()); -} - -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject, int start, int end) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections(start, end)); -} - -bool PythonQtWrapper_QHeaderView::isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_isIndexHidden(index)); -} - -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)); -} - -QModelIndex PythonQtWrapper_QHeaderView::moveCursor(QHeaderView* theWrappedObject, int arg__1, Qt::KeyboardModifiers arg__2) -{ - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_moveCursor(arg__1, arg__2)); -} - -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()); -} - -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)); -} - -QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionResizeMode(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::sectionsClickable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsClickable()); -} - -bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsHidden()); -} - -bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsMovable()); -} - -bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsMoved()); -} - -void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCascadingSectionResizes(enable)); -} - -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::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) -{ - ( theWrappedObject->setSectionHidden(logicalIndex, hide)); -} - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setSectionResizeMode(mode)); -} - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); -} - -void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) -{ - ( theWrappedObject->setSectionsClickable(clickable)); -} - -void PythonQtWrapper_QHeaderView::setSectionsMovable(QHeaderView* theWrappedObject, bool movable) -{ - ( theWrappedObject->setSectionsMovable(movable)); -} - -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(); } - - - -PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QHoverEvent(type, pos, oldPos, modifiers); } - -QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldPos()); -} - -const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldPosF()); -} - -QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const -{ - return &( theWrappedObject->posF()); -} - - - -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.h deleted file mode 100644 index 046238449..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ /dev/null @@ -1,2053 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ -public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = 0):QGraphicsPixmapItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 0):QGraphicsPixmapItem(pixmap, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPixmapItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ public: -inline 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 void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsPixmapItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath promoted_shape() const { return QGraphicsPixmapItem::shape(); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsPixmapItem::supportsExtension((QGraphicsItem::Extension)extension); } -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); -QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = 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 setExtension(QGraphicsPixmapItem* theWrappedObject, int extension, const QVariant& variant); - void setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset); - void setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y); - void setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap); - void setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode); - void setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode); - QPainterPath shape(QGraphicsPixmapItem* theWrappedObject) const; - QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; - bool supportsExtension(QGraphicsPixmapItem* theWrappedObject, int extension) const; - Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; - int type(QGraphicsPixmapItem* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ -public: - PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = 0):QGraphicsPolygonItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0):QGraphicsPolygonItem(polygon, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPolygonItem(); - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsPolygonItem::extension(variant); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsPolygonItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsPolygonItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = 0); -void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPolygonItem* theWrappedObject) const; - bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; - QVariant extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) 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 setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant); - void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); - void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); - QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; - bool supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) 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) {}; - - ~PythonQtShell_QGraphicsProxyWidget(); - -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 = 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_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ public: -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsProxyWidget::contextMenuEvent(event); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragEnterEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragLeaveEvent(event); } -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragMoveEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dropEvent(event); } -inline bool promoted_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } -inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } -inline void promoted_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } -inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverEnterEvent(event); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsProxyWidget::inputMethodEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsProxyWidget::inputMethodQuery(query); } -inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsProxyWidget::itemChange(change, value); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyPressEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyReleaseEvent(event); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseMoveEvent(event); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mousePressEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseReleaseEvent(event); } -inline QGraphicsProxyWidget* promoted_newProxyWidget(const QWidget* arg__1) { return QGraphicsProxyWidget::newProxyWidget(arg__1); } -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); } -inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsProxyWidget::wheelEvent(event); } -}; - -class PythonQtWrapper_QGraphicsProxyWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsProxyWidget::Type}; -public slots: -QGraphicsProxyWidget* new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent = 0, Qt::WindowFlags wFlags = 0); -void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } - void contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); - void dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - bool event(QGraphicsProxyWidget* theWrappedObject, QEvent* event); - bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event); - void focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event); - bool focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next); - void focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event); - void grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event); - void hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event); - void hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event); - QVariant inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const; - QVariant itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); - void keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* 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, PythonQtPassOwnershipToCPP 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); - void wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event); - QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem -{ -public: - PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = 0):QGraphicsRectItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0):QGraphicsRectItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0):QGraphicsRectItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRectItem(); - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsRectItem::extension(variant); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsRectItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsRectItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0); -QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0); -void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const; - bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; - QVariant extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) 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 setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant); - void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); - void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; - bool supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const; - int type(QGraphicsRectItem* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsRotation : public QGraphicsRotation -{ -public: - PythonQtShell_QGraphicsRotation(QObject* parent = 0):QGraphicsRotation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRotation(); - -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) {}; - - ~PythonQtShell_QGraphicsScale(); - -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) {}; - - ~PythonQtShell_QGraphicsScene(); - -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 bool promoted_focusNextPrevChild(bool next) { return QGraphicsScene::focusNextPrevChild(next); } -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(ItemIndexMethod SceneLayer ) -Q_FLAGS(SceneLayers ) -enum ItemIndexMethod{ - BspTreeIndex = QGraphicsScene::BspTreeIndex, NoIndex = QGraphicsScene::NoIndex}; -enum SceneLayer{ - ItemLayer = QGraphicsScene::ItemLayer, BackgroundLayer = QGraphicsScene::BackgroundLayer, ForegroundLayer = QGraphicsScene::ForegroundLayer, AllLayers = QGraphicsScene::AllLayers}; -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, PythonQtPassOwnershipToCPP 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, PythonQtPassOwnershipToCPP 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 QTransform& deviceTransform) const; - QGraphicsItem* itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const; - QGraphicsScene::ItemIndexMethod itemIndexMethod(QGraphicsScene* theWrappedObject) const; - QList items(QGraphicsScene* theWrappedObject, Qt::SortOrder order = Qt::DescendingOrder) const; - QList items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; - QList items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; - QList items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) const; - QList items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform& deviceTransform = QTransform()) 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, PythonQtPassOwnershipToPython 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, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform& deviceTransform = QTransform()); - 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):QGraphicsSimpleTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0):QGraphicsSimpleTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSimpleTextItem(); - -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsSimpleTextItem::extension(variant); } -inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsSimpleTextItem::isObscuredBy(item); } -inline QPainterPath promoted_opaqueArea() const { return QGraphicsSimpleTextItem::opaqueArea(); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsSimpleTextItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsSimpleTextItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = 0); -void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; - bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; - QVariant extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) 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 setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant); - void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); - void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); - QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; - bool supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const; - QString text(QGraphicsSimpleTextItem* theWrappedObject) const; - int type(QGraphicsSimpleTextItem* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem -{ -public: - PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = 0):QGraphicsTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 0):QGraphicsTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsTextItem(); - -virtual void childEvent(QChildEvent* arg__1); -virtual void customEvent(QEvent* arg__1); -virtual bool event(QEvent* ev); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem -{ public: -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsTextItem::contextMenuEvent(event); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragEnterEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragLeaveEvent(event); } -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dragMoveEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsTextItem::dropEvent(event); } -inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsTextItem::extension(variant); } -inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsTextItem::focusInEvent(event); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsTextItem::focusOutEvent(event); } -inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverEnterEvent(event); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverLeaveEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsTextItem::hoverMoveEvent(event); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsTextItem::inputMethodEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsTextItem::inputMethodQuery(query); } -inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsTextItem::keyPressEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsTextItem::keyReleaseEvent(event); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseDoubleClickEvent(event); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseMoveEvent(event); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mousePressEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsTextItem::mouseReleaseEvent(event); } -inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsTextItem::sceneEvent(event); } -inline void promoted_setExtension(int extension, const QVariant& variant) { QGraphicsTextItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return QGraphicsTextItem::supportsExtension((QGraphicsItem::Extension)extension); } -}; - -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); -QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = 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; - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; - QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); - QFont font(QGraphicsTextItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; - bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); - void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); - void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - void setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant); - 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 supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) 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) {}; - - ~PythonQtShell_QGraphicsTransform(); - -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_QGraphicsTransform : public QGraphicsTransform -{ public: -inline void promoted_applyTo(QMatrix4x4* matrix) const { this->applyTo(matrix); } -inline void promoted_update() { QGraphicsTransform::update(); } -}; - -class PythonQtWrapper_QGraphicsTransform : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsTransform* new_QGraphicsTransform(QObject* parent = 0); -void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } - void applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QGraphicsView(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void scrollContentsBy(int dx, int dy); -virtual void setupViewport(QWidget* widget); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void timerEvent(QTimerEvent* arg__1); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -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_setupViewport(QWidget* widget) { QGraphicsView::setupViewport(widget); } -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(CacheModeFlag OptimizationFlag ) -Q_FLAGS(CacheMode OptimizationFlags ) -enum CacheModeFlag{ - CacheNone = QGraphicsView::CacheNone, CacheBackground = QGraphicsView::CacheBackground}; -enum OptimizationFlag{ - DontClipPainter = QGraphicsView::DontClipPainter, DontSavePainterState = QGraphicsView::DontSavePainterState, DontAdjustForAntialiasing = QGraphicsView::DontAdjustForAntialiasing, IndirectPainting = QGraphicsView::IndirectPainting}; -Q_DECLARE_FLAGS(CacheMode, CacheModeFlag) -Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) -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 setupViewport(QGraphicsView* theWrappedObject, QWidget* widget); - 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) {}; - - ~PythonQtShell_QGraphicsWidget(); - -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 void promoted_focusInEvent(QFocusEvent* event) { QGraphicsWidget::focusInEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsWidget::focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsWidget::focusOutEvent(event); } -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 QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWidget::itemChange(change, value); } -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 bool promoted_sceneEvent(QEvent* event) { return QGraphicsWidget::sceneEvent(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); - bool autoFillBackground(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; - void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); - bool event(QGraphicsWidget* theWrappedObject, QEvent* event); - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); - bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); - Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; - QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; - QFont font(QGraphicsWidget* theWrappedObject) const; - void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; - void 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; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); - 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); - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); - void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); - void setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled); - 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, PythonQtPassOwnershipToCPP 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) {}; - - ~PythonQtShell_QGridLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = 0); - void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = 0); - void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = 0); - void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = 0); - void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP 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) const; - 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) {}; - - ~PythonQtShell_QGroupBox(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual QPainter* sharedPainter() const; -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_initStyleOption(QStyleOptionGroupBox* option) const { QGroupBox::initStyleOption(option); } -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); - void initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const; - 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 PythonQtPublicPromoter_QGuiApplication : public QGuiApplication -{ public: -inline bool promoted_event(QEvent* arg__1) { return QGuiApplication::event(arg__1); } -inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QGuiApplication::notify(arg__1, arg__2); } -}; - -class PythonQtWrapper_QGuiApplication : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } - QList static_QGuiApplication_allWindows(); - QString static_QGuiApplication_applicationDisplayName(); - void static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1); - QClipboard* static_QGuiApplication_clipboard(); - bool static_QGuiApplication_desktopSettingsAware(); - qreal devicePixelRatio(QGuiApplication* theWrappedObject) const; - bool event(QGuiApplication* theWrappedObject, QEvent* arg__1); - int static_QGuiApplication_exec(); - QObject* static_QGuiApplication_focusObject(); - QWindow* static_QGuiApplication_focusWindow(); - QFont static_QGuiApplication_font(); - QInputMethod* static_QGuiApplication_inputMethod(); - bool static_QGuiApplication_isLeftToRight(); - bool static_QGuiApplication_isRightToLeft(); - bool isSavingSession(QGuiApplication* theWrappedObject) const; - bool isSessionRestored(QGuiApplication* theWrappedObject) const; - Qt::KeyboardModifiers static_QGuiApplication_keyboardModifiers(); - Qt::LayoutDirection static_QGuiApplication_layoutDirection(); - QWindow* static_QGuiApplication_modalWindow(); - Qt::MouseButtons static_QGuiApplication_mouseButtons(); - bool notify(QGuiApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2); - QCursor* static_QGuiApplication_overrideCursor(); - QPalette static_QGuiApplication_palette(); - QString static_QGuiApplication_platformName(); - QScreen* static_QGuiApplication_primaryScreen(); - Qt::KeyboardModifiers static_QGuiApplication_queryKeyboardModifiers(); - bool static_QGuiApplication_quitOnLastWindowClosed(); - void static_QGuiApplication_restoreOverrideCursor(); - QList static_QGuiApplication_screens(); - QString sessionId(QGuiApplication* theWrappedObject) const; - QString sessionKey(QGuiApplication* theWrappedObject) const; - void static_QGuiApplication_setApplicationDisplayName(const QString& name); - void static_QGuiApplication_setDesktopSettingsAware(bool on); - void static_QGuiApplication_setFont(const QFont& arg__1); - void static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction); - void static_QGuiApplication_setOverrideCursor(const QCursor& arg__1); - void static_QGuiApplication_setPalette(const QPalette& pal); - void static_QGuiApplication_setQuitOnLastWindowClosed(bool quit); - QStyleHints* static_QGuiApplication_styleHints(); - QWindow* static_QGuiApplication_topLevelAt(const QPoint& pos); - QList static_QGuiApplication_topLevelWindows(); -}; - - - - - -class PythonQtShell_QHBoxLayout : public QHBoxLayout -{ -public: - PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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) {}; - - ~PythonQtShell_QHeaderView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual QSize sectionSizeFromContents(int logicalIndex) const; -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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, const QVector& roles = QVector()) { QHeaderView::dataChanged(topLeft, bottomRight, roles); } -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 void promoted_initStyleOption(QStyleOptionHeader* option) const { QHeaderView::initStyleOption(option); } -inline void promoted_initialize() { QHeaderView::initialize(); } -inline void promoted_initializeSections() { QHeaderView::initializeSections(); } -inline void promoted_initializeSections(int start, int end) { QHeaderView::initializeSections(start, end); } -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 QModelIndex promoted_moveCursor(int arg__1, Qt::KeyboardModifiers arg__2) { return QHeaderView::moveCursor((QAbstractItemView::CursorAction)arg__1, arg__2); } -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_resizeSections() { QHeaderView::resizeSections(); } -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_sectionsAboutToBeRemoved(const QModelIndex& parent, int logicalFirst, int logicalLast) { QHeaderView::sectionsAboutToBeRemoved(parent, logicalFirst, logicalLast); } -inline void promoted_sectionsInserted(const QModelIndex& parent, int logicalFirst, int logicalLast) { QHeaderView::sectionsInserted(parent, logicalFirst, logicalLast); } -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 void promoted_updateSection(int logicalIndex) { QHeaderView::updateSection(logicalIndex); } -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, const QVector& roles = QVector()); - 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; - void initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const; - void initialize(QHeaderView* theWrappedObject); - void initializeSections(QHeaderView* theWrappedObject); - void initializeSections(QHeaderView* theWrappedObject, int start, int end); - bool isIndexHidden(QHeaderView* theWrappedObject, const QModelIndex& index) 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); - QModelIndex moveCursor(QHeaderView* theWrappedObject, int arg__1, Qt::KeyboardModifiers arg__2); - 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); - 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; - QHeaderView::ResizeMode sectionResizeMode(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 sectionsClickable(QHeaderView* theWrappedObject) const; - bool sectionsHidden(QHeaderView* theWrappedObject) const; - bool sectionsMovable(QHeaderView* theWrappedObject) const; - bool sectionsMoved(QHeaderView* theWrappedObject) const; - void setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable); - 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 setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide); - void setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode); - void setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode); - void setSectionsClickable(QHeaderView* theWrappedObject, bool clickable); - void setSectionsMovable(QHeaderView* theWrappedObject, bool movable); - 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 QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QHoverEvent(type, pos, oldPos, modifiers),_wrapper(NULL) {}; - - ~PythonQtShell_QHoverEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QHoverEvent : public QObject -{ Q_OBJECT -public: -public slots: -QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } - QPoint oldPos(QHoverEvent* theWrappedObject) const; - const QPointF* oldPosF(QHoverEvent* theWrappedObject) const; - QPoint pos(QHoverEvent* theWrappedObject) const; - const QPointF* posF(QHoverEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QIconDragEvent : public QObject -{ Q_OBJECT -public: -public slots: -QIconDragEvent* new_QIconDragEvent(); -void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } -}; - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp deleted file mode 100644 index 56a25739b..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ /dev/null @@ -1,15883 +0,0 @@ -#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 -#include -#include -#include - -PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actualSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&size0, (void*)&mode1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QIconEngine::actualSize(size0, mode1, state2); -} -void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addFile"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIconEngine::addFile(fileName0, size1, mode2, state3); -} -void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIconEngine::addPixmap(pixmap0, mode1, state2); -} -QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("availableSizes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue; - void* args[3] = {NULL, (void*)&mode0, (void*)&state1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIconEngine::availableSizes(mode0, state1); -} -QIconEngine* PythonQtShell_QIconEngine::clone() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clone"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIconEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIconEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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 = *((QIconEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 0; -} -QString PythonQtShell_QIconEngine::iconName() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("iconName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIconEngine::iconName(); -} -QString PythonQtShell_QIconEngine::key() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("key"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIconEngine::key(); -} -void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("pixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPixmap" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue; - void* args[4] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QIconEngine::pixmap(size0, mode1, state2); -} -bool PythonQtShell_QIconEngine::read(QDataStream& in0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&in0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIconEngine::read(in0); -} -void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("virtual_hook"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIconEngine::virtual_hook(id0, data1); -} -bool PythonQtShell_QIconEngine::write(QDataStream& out0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QIconEngine::write(out0); -} -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)); -} - -QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_availableSizes(mode, state)); -} - -QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_clone()); -} - -QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_iconName()); -} - -QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_key()); -} - -void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) -{ - ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_paint(painter, rect, 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)); -} - -bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_read(in)); -} - -void PythonQtWrapper_QIconEngine::virtual_hook(QIconEngine* theWrappedObject, int id, void* data) -{ - ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_virtual_hook(id, data)); -} - -bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const -{ - return ( ((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->promoted_write(out)); -} - - - -PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QImageIOHandler::canRead() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("canRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return bool(); -} -int PythonQtShell_QImageIOHandler::currentImageNumber() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentImageNumber"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::currentImageNumber(); -} -QRect PythonQtShell_QImageIOHandler::currentImageRect() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentImageRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::currentImageRect(); -} -int PythonQtShell_QImageIOHandler::imageCount() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("imageCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::imageCount(); -} -bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("jumpToImage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&imageNumber0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::jumpToImage(imageNumber0); -} -bool PythonQtShell_QImageIOHandler::jumpToNextImage() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("jumpToNextImage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::jumpToNextImage(); -} -int PythonQtShell_QImageIOHandler::loopCount() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("loopCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::loopCount(); -} -QByteArray PythonQtShell_QImageIOHandler::name() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("name"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::name(); -} -int PythonQtShell_QImageIOHandler::nextImageDelay() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nextImageDelay"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::nextImageDelay(); -} -QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("option"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::option(option0); -} -bool PythonQtShell_QImageIOHandler::read(QImage* image0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QImage*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&image0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return bool(); -} -void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QImageIOHandler::setOption(option0, value1); -} -bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportsOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::supportsOption(option0); -} -bool PythonQtShell_QImageIOHandler::write(const QImage& image0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QImage&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&image0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QImageIOHandler::write(image0); -} -QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() -{ -return new PythonQtShell_QImageIOHandler(); } - -bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_canRead()); -} - -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)); -} - -bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) -{ - return ( ((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->promoted_read(image)); -} - -void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) -{ - ( ((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)); -} - - - -PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("capabilities"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QImageIOPlugin::Capabilities" , "QIODevice*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOPlugin::Capabilities returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&format1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QImageIOPlugin::Capabilities(); -} -void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QImageIOPlugin::childEvent(arg__1); -} -QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("create"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOHandler* returnValue; - void* args[3] = {NULL, (void*)&device0, (void*)&format1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return 0; -} -void PythonQtShell_QImageIOPlugin::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QImageIOPlugin::customEvent(arg__1); -} -bool PythonQtShell_QImageIOPlugin::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOPlugin::event(arg__1); -} -bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QImageIOPlugin::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QImageIOPlugin::timerEvent(arg__1); -} -QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) -{ -return new PythonQtShell_QImageIOPlugin(parent); } - -QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const -{ - return ( ((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->promoted_capabilities(device, format)); -} - -QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const -{ - return ( ((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->promoted_create(device, format)); -} - - - -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)); -} - - - -PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QInputDialog::accept() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::accept(); -} -void PythonQtShell_QInputDialog::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::actionEvent(arg__1); -} -void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::changeEvent(arg__1); -} -void PythonQtShell_QInputDialog::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::childEvent(arg__1); -} -void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::closeEvent(arg__1); -} -void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::contextMenuEvent(arg__1); -} -void PythonQtShell_QInputDialog::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::customEvent(arg__1); -} -int PythonQtShell_QInputDialog::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::devType(); -} -void PythonQtShell_QInputDialog::done(int result0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::done(result0); -} -void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::dragEnterEvent(arg__1); -} -void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::dragLeaveEvent(arg__1); -} -void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::dragMoveEvent(arg__1); -} -void PythonQtShell_QInputDialog::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::dropEvent(arg__1); -} -void PythonQtShell_QInputDialog::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::enterEvent(arg__1); -} -bool PythonQtShell_QInputDialog::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::event(arg__1); -} -bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QInputDialog::exec() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::exec(); -} -void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::focusInEvent(arg__1); -} -bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::focusOutEvent(arg__1); -} -bool PythonQtShell_QInputDialog::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::hasHeightForWidth(); -} -int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::heightForWidth(arg__1); -} -void PythonQtShell_QInputDialog::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::hideEvent(arg__1); -} -void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::initPainter(painter0); -} -void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::keyReleaseEvent(arg__1); -} -void PythonQtShell_QInputDialog::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::leaveEvent(arg__1); -} -int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::metric(arg__1); -} -void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::mouseMoveEvent(arg__1); -} -void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::mousePressEvent(arg__1); -} -void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::moveEvent(arg__1); -} -bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QInputDialog::open() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::open(); -} -QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::paintEngine(); -} -void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::redirected(offset0); -} -void PythonQtShell_QInputDialog::reject() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::reject(); -} -void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QInputDialog::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QInputDialog::sharedPainter(); -} -void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::showEvent(arg__1); -} -void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::tabletEvent(arg__1); -} -void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QInputDialog::timerEvent(arg__1); -} -void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current, bool editable, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) -{ - return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, inputMethodHints)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) -{ - return (QInputDialog::getText(parent, title, label, echo, text, ok, flags, inputMethodHints)); -} - -QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->inputMode()); -} - -int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intMaximum()); -} - -int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intMinimum()); -} - -int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intStep()); -} - -int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intValue()); -} - -bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->isComboBoxEditable()); -} - -QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->labelText()); -} - -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) -{ - ( ((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->promoted_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()); -} - - - -PythonQtShell_QInputEvent::~PythonQtShell_QInputEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QInputEvent* PythonQtWrapper_QInputEvent::new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QInputEvent(type, modifiers); } - -Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) -{ - ( theWrappedObject->setModifiers(amodifiers)); -} - -void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) -{ - ( theWrappedObject->setTimestamp(atimestamp)); -} - -ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const -{ - return ( theWrappedObject->timestamp()); -} - - - -QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->cursorRectangle()); -} - -Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->inputDirection()); -} - -QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->inputItemTransform()); -} - -bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->isAnimating()); -} - -bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->keyboardRectangle()); -} - -QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) -{ - ( theWrappedObject->setInputItemTransform(transform)); -} - -void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - - - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent() -{ -return new QInputMethodEvent(); } - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QInputMethodEvent& other) -{ -return new QInputMethodEvent(other); } - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QString& preeditText, const QList& attributes) -{ -return new QInputMethodEvent(preeditText, attributes); } - -const QList* PythonQtWrapper_QInputMethodEvent::attributes(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->attributes()); -} - -const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->commitString()); -} - -const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->preeditString()); -} - -int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const -{ - return ( theWrappedObject->replacementLength()); -} - -int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const -{ - return ( theWrappedObject->replacementStart()); -} - -void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) -{ - ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); -} - - - -PythonQtShell_QInputMethodEvent__Attribute::~PythonQtShell_QInputMethodEvent__Attribute() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType t, int s, int l, QVariant val) -{ -return new PythonQtShell_QInputMethodEvent__Attribute(t, s, l, val); } - - - -QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) -{ -return new QInputMethodQueryEvent(queries); } - -Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const -{ - return ( theWrappedObject->queries()); -} - -void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) -{ - ( theWrappedObject->setValue(query, value)); -} - -QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( theWrappedObject->value(query)); -} - - - -PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QIntValidator::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIntValidator::childEvent(arg__1); -} -void PythonQtShell_QIntValidator::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIntValidator::customEvent(arg__1); -} -bool PythonQtShell_QIntValidator::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIntValidator::event(arg__1); -} -bool PythonQtShell_QIntValidator::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIntValidator::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QIntValidator::fixup(QString& input0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIntValidator::fixup(input0); -} -void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&bottom0, (void*)&top1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIntValidator::setRange(bottom0, top1); -} -void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QIntValidator::timerEvent(arg__1); -} -QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QIntValidator::validate(arg__1, arg__2); -} -QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent) -{ -return new PythonQtShell_QIntValidator(parent); } - -QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent) -{ -return new PythonQtShell_QIntValidator(bottom, top, parent); } - -int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -void PythonQtWrapper_QIntValidator::fixup(QIntValidator* theWrappedObject, QString& input) const -{ - ( ((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->promoted_fixup(input)); -} - -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)); -} - - - -PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QItemDelegate::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::childEvent(arg__1); -} -QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::createEditor(parent0, option1, index2); -} -void PythonQtShell_QItemDelegate::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::customEvent(arg__1); -} -void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("destroyEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::destroyEditor(editor0, index1); -} -void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawCheck"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::drawCheck(painter0, option1, rect2, state3); -} -void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawDecoration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); -} -void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawDisplay"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::drawDisplay(painter0, option1, rect2, text3); -} -void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("drawFocus"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::drawFocus(painter0, option1, rect2); -} -bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::editorEvent(event0, model1, option2, index3); -} -bool PythonQtShell_QItemDelegate::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::event(arg__1); -} -bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::eventFilter(object0, event1); -} -bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::helpEvent(event0, view1, option2, index3); -} -void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::paint(painter0, option1, index2); -} -QVector PythonQtShell_QItemDelegate::paintingRoles() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintingRoles"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVector"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::paintingRoles(); -} -void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::setEditorData(editor0, index1); -} -void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModelData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::setModelData(editor0, model1, index2); -} -QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemDelegate::sizeHint(option0, index1); -} -void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::timerEvent(arg__1); -} -void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemDelegate::updateEditorGeometry(editor0, option1, index2); -} -QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) -{ -return new PythonQtShell_QItemDelegate(parent); } - -QWidget* PythonQtWrapper_QItemDelegate::createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_createEditor(parent, option, index)); -} - -QPixmap PythonQtWrapper_QItemDelegate::decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_decoration(option, variant)); -} - -QRect PythonQtWrapper_QItemDelegate::doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_doCheck(option, bounding, variant)); -} - -void PythonQtWrapper_QItemDelegate::drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawBackground(painter, option, index)); -} - -void PythonQtWrapper_QItemDelegate::drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawCheck(painter, option, rect, state)); -} - -void PythonQtWrapper_QItemDelegate::drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDecoration(painter, option, rect, pixmap)); -} - -void PythonQtWrapper_QItemDelegate::drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawDisplay(painter, option, rect, text)); -} - -void PythonQtWrapper_QItemDelegate::drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawFocus(painter, option, rect)); -} - -bool PythonQtWrapper_QItemDelegate::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)); -} - -QRect PythonQtWrapper_QItemDelegate::rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_rect(option, index, role)); -} - -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)); -} - -QStyleOptionViewItem PythonQtWrapper_QItemDelegate::setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setOptions(index, option)); -} - -QSize PythonQtWrapper_QItemDelegate::sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_sizeHint(option, index)); -} - -QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); -} - -void PythonQtWrapper_QItemDelegate::updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_updateEditorGeometry(editor, option, index)); -} - - - -PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 0; -} -QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("valuePropertyName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QByteArray"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QByteArray(); -} -QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() -{ -return new PythonQtShell_QItemEditorCreatorBase(); } - -QWidget* PythonQtWrapper_QItemEditorCreatorBase::createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorCreatorBase*)theWrappedObject)->promoted_createWidget(parent)); -} - -QByteArray PythonQtWrapper_QItemEditorCreatorBase::valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorCreatorBase*)theWrappedObject)->promoted_valuePropertyName()); -} - - - -PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QWidget* returnValue; - void* args[3] = {NULL, (void*)&userType0, (void*)&parent1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemEditorFactory::createEditor(userType0, parent1); -} -QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("valuePropertyName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QByteArray" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue; - void* args[2] = {NULL, (void*)&userType0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemEditorFactory::valuePropertyName(userType0); -} -QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() -{ -return new PythonQtShell_QItemEditorFactory(); } - -QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_createEditor(userType, parent)); -} - -const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() -{ - return (QItemEditorFactory::defaultFactory()); -} - -void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator) -{ - ( theWrappedObject->registerEditor(userType, creator)); -} - -void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) -{ - (QItemEditorFactory::setDefaultFactory(factory)); -} - -QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const -{ - return ( ((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->promoted_valuePropertyName(userType)); -} - - - -QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection() -{ -return new QItemSelection(); } - -QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -return new QItemSelection(topLeft, bottomRight); } - -void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->append(t)); -} - -void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QList& t) -{ - ( theWrappedObject->append(t)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->back()); -} - -void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->contains(index)); -} - -int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const -{ - return ( theWrappedObject->count(t)); -} - -void PythonQtWrapper_QItemSelection::detachShared(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->detachShared()); -} - -bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->empty()); -} - -bool PythonQtWrapper_QItemSelection::endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const -{ - return ( theWrappedObject->endsWith(t)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->first()); -} - -QList PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector& vector) -{ - return (QItemSelection::fromVector(vector)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->front()); -} - -int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); -} - -QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->indexes()); -} - -bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QItemSelection::isSharedWith(QItemSelection* theWrappedObject, const QList& other) const -{ - return ( theWrappedObject->isSharedWith(other)); -} - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const -{ - return &( theWrappedObject->last()); -} - -int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); -} - -int PythonQtWrapper_QItemSelection::length(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->merge(other, command)); -} - -QList PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const -{ - return ( theWrappedObject->mid(pos, length)); -} - -void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) -{ - ( theWrappedObject->move(from, to)); -} - -bool PythonQtWrapper_QItemSelection::__ne__(QItemSelection* theWrappedObject, const QList& l) const -{ - return ( (*theWrappedObject)!= l); -} - -bool PythonQtWrapper_QItemSelection::__eq__(QItemSelection* theWrappedObject, const QList& l) const -{ - return ( (*theWrappedObject)== l); -} - -void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->pop_back()); -} - -void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->pop_front()); -} - -void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->prepend(t)); -} - -void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->push_back(t)); -} - -void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->push_front(t)); -} - -int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - return ( theWrappedObject->removeAll(t)); -} - -void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) -{ - ( theWrappedObject->removeAt(i)); -} - -void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->removeFirst()); -} - -void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->removeLast()); -} - -bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - return ( theWrappedObject->removeOne(t)); -} - -void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) -{ - ( theWrappedObject->replace(i, t)); -} - -void PythonQtWrapper_QItemSelection::reserve(QItemSelection* theWrappedObject, int size) -{ - ( theWrappedObject->reserve(size)); -} - -void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( theWrappedObject->select(topLeft, bottomRight)); -} - -void 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, QList& other) -{ - ( theWrappedObject->swap(other)); -} - -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)); -} - - - -PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::childEvent(arg__1); -} -void PythonQtShell_QItemSelectionModel::clear() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::clear(); -} -void PythonQtShell_QItemSelectionModel::clearCurrentIndex() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clearCurrentIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::clearCurrentIndex(); -} -void PythonQtShell_QItemSelectionModel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::customEvent(arg__1); -} -bool PythonQtShell_QItemSelectionModel::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemSelectionModel::event(arg__1); -} -bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QItemSelectionModel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QItemSelectionModel::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::reset(); -} -void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("select"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selection0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::select(selection0, command1); -} -void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("select"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::select(index0, command1); -} -void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setCurrentIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QItemSelectionModel::setCurrentIndex(index0, command1); -} -void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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); } - -void PythonQtWrapper_QItemSelectionModel::clear(QItemSelectionModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_clear()); -} - -void PythonQtWrapper_QItemSelectionModel::clearCurrentIndex(QItemSelectionModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_clearCurrentIndex()); -} - -bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->columnIntersectsSelection(column, parent)); -} - -QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); -} - -bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->hasSelection()); -} - -bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->isColumnSelected(column, parent)); -} - -bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isRowSelected(row, parent)); -} - -bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isSelected(index)); -} - -const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -void PythonQtWrapper_QItemSelectionModel::reset(QItemSelectionModel* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_reset()); -} - -bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->rowIntersectsSelection(row, parent)); -} - -void PythonQtWrapper_QItemSelectionModel::select(QItemSelectionModel* theWrappedObject, const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_select(selection, command)); -} - -void PythonQtWrapper_QItemSelectionModel::select(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_select(index, command)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const -{ - return ( theWrappedObject->selectedColumns(row)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selectedIndexes()); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const -{ - return ( theWrappedObject->selectedRows(column)); -} - -const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selection()); -} - -void PythonQtWrapper_QItemSelectionModel::setCurrentIndex(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_setCurrentIndex(index, command)); -} - - - -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()); -} - -const QPersistentModelIndex* 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::isEmpty(QItemSelectionRange* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -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::__lt__(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()); -} - -const QPersistentModelIndex* 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; -} - - - -PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text, bool autorep, ushort count) -{ -return new PythonQtShell_QKeyEvent(type, key, modifiers, text, autorep, count); } - -QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text, bool autorep, ushort count) -{ -return new PythonQtShell_QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count); } - -int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAutoRepeat()); -} - -int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const -{ - return ( theWrappedObject->matches(key)); -} - -Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeModifiers()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeScanCode()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeVirtualKey()); -} - -QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - - - -PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QKeyEventTransition::childEvent(arg__1); -} -void PythonQtShell_QKeyEventTransition::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QKeyEventTransition::customEvent(arg__1); -} -bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QKeyEventTransition::event(e0); -} -bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QKeyEventTransition::eventFilter(arg__1, arg__2); -} -bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QKeyEventTransition::eventTest(event0); -} -void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QKeyEventTransition::onTransition(event0); -} -void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - - - -PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::actionEvent(arg__1); -} -void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::changeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::childEvent(arg__1); -} -void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::closeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::contextMenuEvent(arg__1); -} -void PythonQtShell_QLCDNumber::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::customEvent(arg__1); -} -int PythonQtShell_QLCDNumber::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::devType(); -} -void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::dragEnterEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::dragLeaveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::dragMoveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::dropEvent(arg__1); -} -void PythonQtShell_QLCDNumber::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::enterEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::event(e0); -} -bool PythonQtShell_QLCDNumber::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::focusInEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::focusNextPrevChild(next0); -} -void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::focusOutEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::hasHeightForWidth(); -} -int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::heightForWidth(arg__1); -} -void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::hideEvent(arg__1); -} -void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::initPainter(painter0); -} -void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::inputMethodQuery(arg__1); -} -void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::keyPressEvent(arg__1); -} -void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLCDNumber::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::leaveEvent(arg__1); -} -int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::metric(arg__1); -} -QSize PythonQtShell_QLCDNumber::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::minimumSizeHint(); -} -void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::mouseMoveEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::mousePressEvent(arg__1); -} -void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::moveEvent(arg__1); -} -bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::paintEngine(); -} -void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::redirected(offset0); -} -void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QLCDNumber::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLCDNumber::sharedPainter(); -} -void PythonQtShell_QLCDNumber::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::showEvent(arg__1); -} -void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::tabletEvent(arg__1); -} -void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLCDNumber::timerEvent(arg__1); -} -void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -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::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()); -} - - - -PythonQtShell_QLabel::~PythonQtShell_QLabel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLabel::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::actionEvent(arg__1); -} -void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::changeEvent(arg__1); -} -void PythonQtShell_QLabel::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::childEvent(arg__1); -} -void PythonQtShell_QLabel::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::closeEvent(arg__1); -} -void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::contextMenuEvent(ev0); -} -void PythonQtShell_QLabel::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::customEvent(arg__1); -} -int PythonQtShell_QLabel::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::devType(); -} -void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::dragEnterEvent(arg__1); -} -void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::dragLeaveEvent(arg__1); -} -void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::dragMoveEvent(arg__1); -} -void PythonQtShell_QLabel::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::dropEvent(arg__1); -} -void PythonQtShell_QLabel::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::enterEvent(arg__1); -} -bool PythonQtShell_QLabel::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::event(e0); -} -bool PythonQtShell_QLabel::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::focusInEvent(ev0); -} -bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::focusNextPrevChild(next0); -} -void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::focusOutEvent(ev0); -} -bool PythonQtShell_QLabel::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::hasHeightForWidth(); -} -int PythonQtShell_QLabel::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::heightForWidth(arg__1); -} -void PythonQtShell_QLabel::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::hideEvent(arg__1); -} -void PythonQtShell_QLabel::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::initPainter(painter0); -} -void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::inputMethodQuery(arg__1); -} -void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::keyPressEvent(ev0); -} -void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLabel::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::leaveEvent(arg__1); -} -int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::metric(arg__1); -} -void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::mouseMoveEvent(ev0); -} -void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::mousePressEvent(ev0); -} -void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::mouseReleaseEvent(ev0); -} -void PythonQtShell_QLabel::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::moveEvent(arg__1); -} -bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QLabel::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::paintEngine(); -} -void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::redirected(offset0); -} -void PythonQtShell_QLabel::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QLabel::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLabel::sharedPainter(); -} -void PythonQtShell_QLabel::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::showEvent(arg__1); -} -void PythonQtShell_QLabel::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::tabletEvent(arg__1); -} -void PythonQtShell_QLabel::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLabel::timerEvent(arg__1); -} -void PythonQtShell_QLabel::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -bool PythonQtWrapper_QLabel::hasSelectedText(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->hasSelectedText()); -} - -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()); -} - -QString PythonQtWrapper_QLabel::selectedText(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); -} - -int PythonQtWrapper_QLabel::selectionStart(QLabel* theWrappedObject) const -{ - return ( theWrappedObject->selectionStart()); -} - -void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) -{ - ( theWrappedObject->setAlignment(arg__1)); -} - -void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->setBuddy(arg__1)); -} - -void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setIndent(arg__1)); -} - -void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setMargin(arg__1)); -} - -void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setScaledContents(arg__1)); -} - -void PythonQtWrapper_QLabel::setSelection(QLabel* theWrappedObject, int arg__1, int arg__2) -{ - ( theWrappedObject->setSelection(arg__1, arg__2)); -} - -void 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()); -} - - - -PythonQtShell_QLayout::~PythonQtShell_QLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -void PythonQtShell_QLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::controlTypes(); -} -int PythonQtShell_QLayout::count() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return int(); -} -void PythonQtShell_QLayout::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayout::customEvent(arg__1); -} -bool PythonQtShell_QLayout::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::event(arg__1); -} -bool PythonQtShell_QLayout::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::eventFilter(arg__1, arg__2); -} -Qt::Orientations PythonQtShell_QLayout::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::expandingDirections(); -} -QRect PythonQtShell_QLayout::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::geometry(); -} -bool PythonQtShell_QLayout::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::hasHeightForWidth(); -} -int PythonQtShell_QLayout::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::heightForWidth(arg__1); -} -int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayout::indexOf(arg__1); -} -void PythonQtShell_QLayout::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayout::invalidate(); -} -bool PythonQtShell_QLayout::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 0; -} -QLayout* PythonQtShell_QLayout::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayout::layout(); -} -QSize PythonQtShell_QLayout::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::maximumSize(); -} -int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QLayout::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayout::minimumSize(); -} -void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayout::setGeometry(arg__1); -} -QSize PythonQtShell_QLayout::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSize(); -} -QSpacerItem* PythonQtShell_QLayout::spacerItem() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("spacerItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayout::spacerItem(); -} -QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return 0; -} -void PythonQtShell_QLayout::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayout::timerEvent(arg__1); -} -QWidget* PythonQtShell_QLayout::widget() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - 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::addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildLayout(l)); -} - -void PythonQtWrapper_QLayout::addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildWidget(w)); -} - -void PythonQtWrapper_QLayout::addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -void PythonQtWrapper_QLayout::addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) -{ - ( theWrappedObject->addWidget(w)); -} - -QRect PythonQtWrapper_QLayout::alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_alignmentRect(arg__1)); -} - -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()); -} - -QSizePolicy::ControlTypes PythonQtWrapper_QLayout::controlTypes(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_controlTypes()); -} - -int PythonQtWrapper_QLayout::count(QLayout* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_count()); -} - -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()); -} - -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()); -} - -QLayoutItem* PythonQtWrapper_QLayout::itemAt(QLayout* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_itemAt(index)); -} - -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, PythonQtPassOwnershipToPython arg__1) -{ - ( theWrappedObject->removeItem(arg__1)); -} - -void PythonQtWrapper_QLayout::removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython 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()); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QLayout::takeAt(QLayout* theWrappedObject, int index) -{ - return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_takeAt(index)); -} - -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()); -} - -void PythonQtWrapper_QLayout::widgetEvent(QLayout* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_widgetEvent(arg__1)); -} - - - -PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::controlTypes(); -} -Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return Qt::Orientations(); -} -QRect PythonQtShell_QLayoutItem::geometry() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QRect(); -} -bool PythonQtShell_QLayoutItem::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::hasHeightForWidth(); -} -int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::heightForWidth(arg__1); -} -void PythonQtShell_QLayoutItem::invalidate() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLayoutItem::invalidate(); -} -bool PythonQtShell_QLayoutItem::isEmpty() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return bool(); -} -QLayout* PythonQtShell_QLayoutItem::layout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::layout(); -} -QSize PythonQtShell_QLayoutItem::maximumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSize(); -} -int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QLayoutItem::minimumSize() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSize(); -} -void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - -} -QSize PythonQtShell_QLayoutItem::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QSize(); -} -QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("spacerItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QLayoutItem::spacerItem(); -} -QWidget* PythonQtShell_QLayoutItem::widget() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("widget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - 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 ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_controlTypes()); -} - -Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_expandingDirections()); -} - -QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_geometry()); -} - -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()); -} - -bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_isEmpty()); -} - -QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_layout()); -} - -QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_maximumSize()); -} - -int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_minimumSize()); -} - -void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) -{ - ( theWrappedObject->setAlignment(a)); -} - -void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) -{ - ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_setGeometry(arg__1)); -} - -QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_sizeHint()); -} - -QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_spacerItem()); -} - -QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->promoted_widget()); -} - - - -PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLineEdit::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::actionEvent(arg__1); -} -void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::changeEvent(arg__1); -} -void PythonQtShell_QLineEdit::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::childEvent(arg__1); -} -void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::closeEvent(arg__1); -} -void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::contextMenuEvent(arg__1); -} -void PythonQtShell_QLineEdit::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::customEvent(arg__1); -} -int PythonQtShell_QLineEdit::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::devType(); -} -void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::dragEnterEvent(arg__1); -} -void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::dragLeaveEvent(e0); -} -void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::dragMoveEvent(e0); -} -void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::dropEvent(arg__1); -} -void PythonQtShell_QLineEdit::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::enterEvent(arg__1); -} -bool PythonQtShell_QLineEdit::event(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::event(arg__1); -} -bool PythonQtShell_QLineEdit::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::focusInEvent(arg__1); -} -bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::focusOutEvent(arg__1); -} -bool PythonQtShell_QLineEdit::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::hasHeightForWidth(); -} -int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::heightForWidth(arg__1); -} -void PythonQtShell_QLineEdit::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::hideEvent(arg__1); -} -void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::initPainter(painter0); -} -void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::keyPressEvent(arg__1); -} -void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::keyReleaseEvent(arg__1); -} -void PythonQtShell_QLineEdit::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::leaveEvent(arg__1); -} -int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::metric(arg__1); -} -void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::mouseMoveEvent(arg__1); -} -void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::mousePressEvent(arg__1); -} -void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::moveEvent(arg__1); -} -bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::paintEngine(); -} -void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::redirected(offset0); -} -void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QLineEdit::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QLineEdit::sharedPainter(); -} -void PythonQtShell_QLineEdit::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::showEvent(arg__1); -} -void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::tabletEvent(arg__1); -} -void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QLineEdit::timerEvent(arg__1); -} -void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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)); -} - -Qt::CursorMoveStyle PythonQtWrapper_QLineEdit::cursorMoveStyle(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorMoveStyle()); -} - -int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorPosition()); -} - -int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) -{ - return ( theWrappedObject->cursorPositionAt(pos)); -} - -QRect PythonQtWrapper_QLineEdit::cursorRect(QLineEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_cursorRect()); -} - -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)); -} - -void PythonQtWrapper_QLineEdit::initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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::placeholderText(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->placeholderText()); -} - -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::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setCursorMoveStyle(style)); -} - -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::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setPlaceholderText(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()); -} - - - -PythonQtShell_QListView::~PythonQtShell_QListView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QListView::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::actionEvent(arg__1); -} -void PythonQtShell_QListView::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::changeEvent(arg__1); -} -void PythonQtShell_QListView::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::childEvent(arg__1); -} -void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::closeEditor(editor0, hint1); -} -void PythonQtShell_QListView::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::closeEvent(arg__1); -} -void PythonQtShell_QListView::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::commitData(editor0); -} -void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::contextMenuEvent(arg__1); -} -void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::currentChanged(current0, previous1); -} -void PythonQtShell_QListView::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::customEvent(arg__1); -} -void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QListView::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::devType(); -} -void PythonQtShell_QListView::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::doItemsLayout(); -} -void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::dragEnterEvent(event0); -} -void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::dragLeaveEvent(e0); -} -void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::dragMoveEvent(e0); -} -void PythonQtShell_QListView::dropEvent(QDropEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::dropEvent(e0); -} -bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::edit(index0, trigger1, event2); -} -void PythonQtShell_QListView::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::editorDestroyed(editor0); -} -void PythonQtShell_QListView::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::enterEvent(arg__1); -} -bool PythonQtShell_QListView::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::event(e0); -} -bool PythonQtShell_QListView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::focusInEvent(event0); -} -bool PythonQtShell_QListView::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::focusNextPrevChild(next0); -} -void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::focusOutEvent(event0); -} -bool PythonQtShell_QListView::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::hasHeightForWidth(); -} -int PythonQtShell_QListView::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::heightForWidth(arg__1); -} -void PythonQtShell_QListView::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::hideEvent(arg__1); -} -int PythonQtShell_QListView::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::horizontalOffset(); -} -void PythonQtShell_QListView::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::indexAt(p0); -} -void PythonQtShell_QListView::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::initPainter(painter0); -} -void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::inputMethodQuery(query0); -} -bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::isIndexHidden(index0); -} -void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::keyPressEvent(event0); -} -void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::keyReleaseEvent(arg__1); -} -void PythonQtShell_QListView::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::keyboardSearch(search0); -} -void PythonQtShell_QListView::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::leaveEvent(arg__1); -} -int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::metric(arg__1); -} -void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::mouseMoveEvent(e0); -} -void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::mousePressEvent(event0); -} -void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::mouseReleaseEvent(e0); -} -void PythonQtShell_QListView::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::moveEvent(arg__1); -} -bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QListView::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::paintEngine(); -} -void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::redirected(offset0); -} -void PythonQtShell_QListView::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::reset(); -} -void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::resizeEvent(e0); -} -void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::scrollTo(index0, hint1); -} -void PythonQtShell_QListView::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::selectAll(); -} -QList PythonQtShell_QListView::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::selectedIndexes(); -} -void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::selectionCommand(index0, event1); -} -void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::setModel(model0); -} -void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::setRootIndex(index0); -} -void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::setSelection(rect0, command1); -} -void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QListView::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QListView::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::sharedPainter(); -} -void PythonQtShell_QListView::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::showEvent(arg__1); -} -int PythonQtShell_QListView::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QListView::sizeHintForColumn(column0); -} -int PythonQtShell_QListView::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QListView::sizeHintForRow(row0); -} -void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::startDrag(supportedActions0); -} -void PythonQtShell_QListView::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::tabletEvent(arg__1); -} -void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::timerEvent(e0); -} -void PythonQtShell_QListView::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::updateEditorData(); -} -void PythonQtShell_QListView::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::updateEditorGeometries(); -} -void PythonQtShell_QListView::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::updateGeometries(); -} -int PythonQtShell_QListView::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::verticalOffset(); -} -void PythonQtShell_QListView::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::verticalScrollbarAction(action0); -} -void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::viewOptions(); -} -bool PythonQtShell_QListView::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::viewportEvent(event0); -} -QSize PythonQtShell_QListView::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::viewportSizeHint(); -} -QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::visualRect(index0); -} -QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListView::visualRegionForSelection(selection0); -} -void PythonQtShell_QListView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - -QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); -} - -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, const QVector& roles) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_dataChanged(topLeft, bottomRight, roles)); -} - -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)); -} - -QModelIndex PythonQtWrapper_QListView::moveCursor(QListView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers) -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_moveCursor(cursorAction, modifiers)); -} - -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)); -} - -QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); -} - -void PythonQtWrapper_QListView::reset(QListView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_reset()); -} - -void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); -} - -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::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); -} - -void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) -{ - ( theWrappedObject->setResizeMode(mode)); -} - -void PythonQtWrapper_QListView::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()); -} - - - -PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QListWidget::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::actionEvent(arg__1); -} -void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::changeEvent(arg__1); -} -void PythonQtShell_QListWidget::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::childEvent(arg__1); -} -void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::closeEditor(editor0, hint1); -} -void PythonQtShell_QListWidget::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::closeEvent(arg__1); -} -void PythonQtShell_QListWidget::commitData(QWidget* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::commitData(editor0); -} -void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::currentChanged(current0, previous1); -} -void PythonQtShell_QListWidget::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::customEvent(arg__1); -} -void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QListWidget::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::devType(); -} -void PythonQtShell_QListWidget::doItemsLayout() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::doItemsLayout(); -} -void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::dragEnterEvent(event0); -} -void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::dragLeaveEvent(e0); -} -void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::dragMoveEvent(e0); -} -void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::dropEvent(event0); -} -bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&data1, (void*)&action2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::dropMimeData(index0, data1, action2); -} -bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::edit(index0, trigger1, event2); -} -void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::editorDestroyed(editor0); -} -void PythonQtShell_QListWidget::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::enterEvent(arg__1); -} -bool PythonQtShell_QListWidget::event(QEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::event(e0); -} -bool PythonQtShell_QListWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::focusInEvent(event0); -} -bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::focusOutEvent(event0); -} -bool PythonQtShell_QListWidget::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::hasHeightForWidth(); -} -int PythonQtShell_QListWidget::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::heightForWidth(arg__1); -} -void PythonQtShell_QListWidget::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::hideEvent(arg__1); -} -int PythonQtShell_QListWidget::horizontalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::horizontalOffset(); -} -void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::horizontalScrollbarAction(action0); -} -void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::indexAt(p0); -} -void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::initPainter(painter0); -} -void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::inputMethodEvent(event0); -} -QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::inputMethodQuery(query0); -} -bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::isIndexHidden(index0); -} -void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::keyPressEvent(event0); -} -void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::keyReleaseEvent(arg__1); -} -void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::keyboardSearch(search0); -} -void PythonQtShell_QListWidget::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::leaveEvent(arg__1); -} -int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::metric(arg__1); -} -QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue; - void* args[2] = {NULL, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::mimeData(items0); -} -QStringList PythonQtShell_QListWidget::mimeTypes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::mimeTypes(); -} -void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::mouseMoveEvent(e0); -} -void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::mousePressEvent(event0); -} -void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::mouseReleaseEvent(e0); -} -void PythonQtShell_QListWidget::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::moveEvent(arg__1); -} -bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QListWidget::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::paintEngine(); -} -void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::redirected(offset0); -} -void PythonQtShell_QListWidget::reset() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::reset(); -} -void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::resizeEvent(e0); -} -void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::scrollTo(index0, hint1); -} -void PythonQtShell_QListWidget::selectAll() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::selectAll(); -} -QList PythonQtShell_QListWidget::selectedIndexes() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::selectedIndexes(); -} -void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::selectionCommand(index0, event1); -} -void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::setRootIndex(index0); -} -void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::setSelection(rect0, command1); -} -void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::setSelectionModel(selectionModel0); -} -void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::setupViewport(viewport0); -} -QPainter* PythonQtShell_QListWidget::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::sharedPainter(); -} -void PythonQtShell_QListWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::showEvent(arg__1); -} -int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QListWidget::sizeHintForColumn(column0); -} -int PythonQtShell_QListWidget::sizeHintForRow(int row0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QListWidget::sizeHintForRow(row0); -} -void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::startDrag(supportedActions0); -} -Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::supportedDropActions(); -} -void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::tabletEvent(arg__1); -} -void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::timerEvent(e0); -} -void PythonQtShell_QListWidget::updateEditorData() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::updateEditorData(); -} -void PythonQtShell_QListWidget::updateEditorGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::updateEditorGeometries(); -} -void PythonQtShell_QListWidget::updateGeometries() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::updateGeometries(); -} -int PythonQtShell_QListWidget::verticalOffset() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::verticalOffset(); -} -void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::verticalScrollbarAction(action0); -} -void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::viewOptions(); -} -bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::viewportEvent(event0); -} -QSize PythonQtShell_QListWidget::viewportSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::viewportSizeHint(); -} -QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::visualRect(index0); -} -QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidget::visualRegionForSelection(selection0); -} -void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidget::wheelEvent(arg__1); -} -QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) -{ -return new PythonQtShell_QListWidget(parent); } - -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); -} - -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) -{ - ( theWrappedObject->addItem(label)); -} - -void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->addItems(labels)); -} - -void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) -{ - ( theWrappedObject->closePersistentEditor(item)); -} - -int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -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)); -} - -QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); -} - -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->insertItem(row, item)); -} - -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) -{ - ( theWrappedObject->insertItem(row, label)); -} - -void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) -{ - ( theWrappedObject->insertItems(row, labels)); -} - -bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const -{ - return ( theWrappedObject->item(row)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); -} - -QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const -{ - return ( theWrappedObject->itemWidget(item)); -} - -QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const -{ - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); -} - -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, PythonQtPassOwnershipToCPP 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()); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) -{ - return ( theWrappedObject->takeItem(row)); -} - -QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); -} - - - -PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("clone"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } -} - return QListWidgetItem::clone(); -} -QVariant PythonQtShell_QListWidgetItem::data(int role0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&role0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidgetItem::data(role0); -} -bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QListWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QListWidgetItem::operator<(other0); -} -void PythonQtShell_QListWidgetItem::read(QDataStream& in0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidgetItem::read(in0); -} -void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setBackgroundColor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QColor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&color0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidgetItem::setBackgroundColor(color0); -} -void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidgetItem::setData(role0, value1); -} -void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QListWidgetItem::write(out0); -} -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(icon, text, view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis 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()); -} - - - -PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QMainWindow::actionEvent(QActionEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::actionEvent(arg__1); -} -void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::changeEvent(arg__1); -} -void PythonQtShell_QMainWindow::childEvent(QChildEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::childEvent(arg__1); -} -void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::closeEvent(arg__1); -} -void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::contextMenuEvent(event0); -} -QMenu* PythonQtShell_QMainWindow::createPopupMenu() -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("createPopupMenu"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMenu*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMenu* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } -} - return QMainWindow::createPopupMenu(); -} -void PythonQtShell_QMainWindow::customEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::customEvent(arg__1); -} -int PythonQtShell_QMainWindow::devType() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::devType(); -} -void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::dragEnterEvent(arg__1); -} -void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::dragLeaveEvent(arg__1); -} -void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::dragMoveEvent(arg__1); -} -void PythonQtShell_QMainWindow::dropEvent(QDropEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::dropEvent(arg__1); -} -void PythonQtShell_QMainWindow::enterEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::enterEvent(arg__1); -} -bool PythonQtShell_QMainWindow::event(QEvent* event0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::event(event0); -} -bool PythonQtShell_QMainWindow::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::focusInEvent(arg__1); -} -bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::focusNextPrevChild(next0); -} -void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::focusOutEvent(arg__1); -} -bool PythonQtShell_QMainWindow::hasHeightForWidth() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::hasHeightForWidth(); -} -int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::heightForWidth(arg__1); -} -void PythonQtShell_QMainWindow::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::hideEvent(arg__1); -} -void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::initPainter(painter0); -} -void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::inputMethodQuery(arg__1); -} -void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::keyPressEvent(arg__1); -} -void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::keyReleaseEvent(arg__1); -} -void PythonQtShell_QMainWindow::leaveEvent(QEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::leaveEvent(arg__1); -} -int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::metric(arg__1); -} -QSize PythonQtShell_QMainWindow::minimumSizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::minimumSizeHint(); -} -void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::mouseMoveEvent(arg__1); -} -void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::mousePressEvent(arg__1); -} -void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::moveEvent(arg__1); -} -bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::paintEngine(); -} -void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::redirected(offset0); -} -void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::resizeEvent(arg__1); -} -QPainter* PythonQtShell_QMainWindow::sharedPainter() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::sharedPainter(); -} -void PythonQtShell_QMainWindow::showEvent(QShowEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::showEvent(arg__1); -} -QSize PythonQtShell_QMainWindow::sizeHint() const -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } -} - return QMainWindow::sizeHint(); -} -void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::tabletEvent(arg__1); -} -void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - QMainWindow::timerEvent(arg__1); -} -void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper && (Py_REFCNT((PyObject*)_wrapper) > 0)) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } -} - 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()); -} - - diff --git a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.h deleted file mode 100644 index e9604f5ed..000000000 --- a/generated_cpp_50/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ /dev/null @@ -1,2224 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QIconEngine : public QIconEngine -{ -public: - PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {}; - - ~PythonQtShell_QIconEngine(); - -virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); -virtual QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; -virtual QIconEngine* clone() const; -virtual QString iconName() const; -virtual QString key() const; -virtual void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); -virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual bool read(QDataStream& in); -virtual void virtual_hook(int id, void* data); -virtual bool write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIconEngine : public QIconEngine -{ public: -inline QSize 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 QList promoted_availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const { return QIconEngine::availableSizes(mode, state); } -inline QIconEngine* promoted_clone() const { return this->clone(); } -inline QString promoted_iconName() const { return QIconEngine::iconName(); } -inline QString promoted_key() const { return QIconEngine::key(); } -inline void promoted_paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) { this->paint(painter, rect, mode, state); } -inline QPixmap promoted_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } -inline bool promoted_read(QDataStream& in) { return QIconEngine::read(in); } -inline void promoted_virtual_hook(int id, void* data) { QIconEngine::virtual_hook(id, data); } -inline bool promoted_write(QDataStream& out) const { return QIconEngine::write(out); } -}; - -class PythonQtWrapper_QIconEngine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(IconEngineHook ) -enum IconEngineHook{ - AvailableSizesHook = QIconEngine::AvailableSizesHook, IconNameHook = QIconEngine::IconNameHook}; -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); - QList availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - QIconEngine* clone(QIconEngine* theWrappedObject) const; - QString iconName(QIconEngine* theWrappedObject) const; - QString key(QIconEngine* theWrappedObject) const; - void paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); - QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); - bool read(QIconEngine* theWrappedObject, QDataStream& in); - void virtual_hook(QIconEngine* theWrappedObject, int id, void* data); - bool write(QIconEngine* theWrappedObject, QDataStream& out) const; -}; - - - - - -class PythonQtShell_QImageIOHandler : public QImageIOHandler -{ -public: - PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QImageIOHandler(); - -virtual bool canRead() const; -virtual int currentImageNumber() const; -virtual QRect currentImageRect() const; -virtual int imageCount() const; -virtual bool jumpToImage(int imageNumber); -virtual bool jumpToNextImage(); -virtual int loopCount() const; -virtual QByteArray name() const; -virtual int nextImageDelay() const; -virtual QVariant option(QImageIOHandler::ImageOption option) const; -virtual bool read(QImage* image); -virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); -virtual bool supportsOption(QImageIOHandler::ImageOption option) const; -virtual bool write(const QImage& image); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler -{ public: -inline bool promoted_canRead() const { return this->canRead(); } -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 bool promoted_read(QImage* image) { return this->read(image); } -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; } - bool canRead(QImageIOHandler* theWrappedObject) const; - 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; - bool read(QImageIOHandler* theWrappedObject, QImage* image); - 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) {}; - - ~PythonQtShell_QImageIOPlugin(); - -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 void timerEvent(QTimerEvent* arg__1); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin -{ public: -inline QImageIOPlugin::Capabilities promoted_capabilities(QIODevice* device, const QByteArray& format) const { return this->capabilities(device, format); } -inline QImageIOHandler* promoted_create(QIODevice* device, const QByteArray& format = QByteArray()) const { return this->create(device, format); } -}; - -class PythonQtWrapper_QImageIOPlugin : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Capability ) -Q_FLAGS(Capabilities ) -enum Capability{ - CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental}; -Q_DECLARE_FLAGS(Capabilities, Capability) -public slots: -QImageIOPlugin* new_QImageIOPlugin(QObject* parent = 0); -void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } - QImageIOPlugin::Capabilities capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const; - QImageIOHandler* create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const; -}; - - - - - -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_QInputDialog : public QInputDialog -{ -public: - PythonQtShell_QInputDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QInputDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QInputDialog(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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); } -inline void promoted_open() { QInputDialog::open(); } -}; - -class PythonQtWrapper_QInputDialog : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InputDialogOption InputMode ) -Q_FLAGS(InputDialogOptions ) -enum InputDialogOption{ - NoButtons = QInputDialog::NoButtons, UseListViewForComboBoxItems = QInputDialog::UseListViewForComboBoxItems}; -enum InputMode{ - TextInput = QInputDialog::TextInput, IntInput = QInputDialog::IntInput, DoubleInput = QInputDialog::DoubleInput}; -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); - 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, Qt::InputMethodHints inputMethodHints = Qt::ImhNone); - 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, Qt::InputMethodHints inputMethodHints = Qt::ImhNone); - 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) {}; - - ~PythonQtShell_QInputEvent(); - - - 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); - void setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp); - ulong timestamp(QInputEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QInputMethod : public QObject -{ Q_OBJECT -public: -public slots: - QRectF cursorRectangle(QInputMethod* theWrappedObject) const; - Qt::LayoutDirection inputDirection(QInputMethod* theWrappedObject) const; - QTransform inputItemTransform(QInputMethod* theWrappedObject) const; - bool isAnimating(QInputMethod* theWrappedObject) const; - bool isVisible(QInputMethod* theWrappedObject) const; - QRectF keyboardRectangle(QInputMethod* theWrappedObject) const; - QLocale locale(QInputMethod* theWrappedObject) const; - void setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform); - void setVisible(QInputMethod* theWrappedObject, bool visible); -}; - - - - - -class PythonQtWrapper_QInputMethodEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AttributeType ) -enum AttributeType{ - TextFormat = QInputMethodEvent::TextFormat, Cursor = QInputMethodEvent::Cursor, Language = QInputMethodEvent::Language, Ruby = QInputMethodEvent::Ruby, Selection = QInputMethodEvent::Selection}; -public slots: -QInputMethodEvent* new_QInputMethodEvent(); -QInputMethodEvent* new_QInputMethodEvent(const QInputMethodEvent& other); -QInputMethodEvent* new_QInputMethodEvent(const QString& preeditText, const QList& attributes); -void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } - const QList* attributes(QInputMethodEvent* theWrappedObject) const; - const QString* commitString(QInputMethodEvent* theWrappedObject) const; - const QString* preeditString(QInputMethodEvent* theWrappedObject) const; - int replacementLength(QInputMethodEvent* theWrappedObject) const; - int replacementStart(QInputMethodEvent* theWrappedObject) const; - void setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom = 0, int replaceLength = 0); -}; - - - - - -class PythonQtShell_QInputMethodEvent__Attribute : public QInputMethodEvent::Attribute -{ -public: - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType t, int s, int l, QVariant val):QInputMethodEvent::Attribute(t, s, l, val),_wrapper(NULL) {}; - - ~PythonQtShell_QInputMethodEvent__Attribute(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject -{ Q_OBJECT -public: -public slots: -QInputMethodEvent::Attribute* new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType t, int s, int l, QVariant val); -void delete_QInputMethodEvent__Attribute(QInputMethodEvent::Attribute* obj) { delete obj; } -void py_set_length(QInputMethodEvent::Attribute* theWrappedObject, int length){ theWrappedObject->length = length; } -int py_get_length(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->length; } -void py_set_start(QInputMethodEvent::Attribute* theWrappedObject, int start){ theWrappedObject->start = start; } -int py_get_start(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->start; } -void py_set_type(QInputMethodEvent::Attribute* theWrappedObject, QInputMethodEvent::AttributeType type){ theWrappedObject->type = type; } -QInputMethodEvent::AttributeType py_get_type(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->type; } -void py_set_value(QInputMethodEvent::Attribute* theWrappedObject, QVariant value){ theWrappedObject->value = value; } -QVariant py_get_value(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->value; } -}; - - - - - -class PythonQtWrapper_QInputMethodQueryEvent : public QObject -{ Q_OBJECT -public: -public slots: -QInputMethodQueryEvent* new_QInputMethodQueryEvent(Qt::InputMethodQueries queries); -void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } - Qt::InputMethodQueries queries(QInputMethodQueryEvent* theWrappedObject) const; - void setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value); - QVariant value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const; -}; - - - - - -class PythonQtShell_QIntValidator : public QIntValidator -{ -public: - PythonQtShell_QIntValidator(QObject* parent = 0):QIntValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = 0):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIntValidator(); - -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& input) 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_fixup(QString& input) const { QIntValidator::fixup(input); } -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 = 0); -void delete_QIntValidator(QIntValidator* obj) { delete obj; } - int bottom(QIntValidator* theWrappedObject) const; - void fixup(QIntValidator* theWrappedObject, QString& input) 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) {}; - - ~PythonQtShell_QItemDelegate(); - -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 destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; -virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; -virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; -virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void 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 QPixmap promoted_decoration(const QStyleOptionViewItem& option, const QVariant& variant) const { return QItemDelegate::decoration(option, variant); } -inline QRect promoted_doCheck(const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const { return QItemDelegate::doCheck(option, bounding, variant); } -inline void promoted_drawBackground(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::drawBackground(painter, 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 QRect promoted_rect(const QStyleOptionViewItem& option, const QModelIndex& index, int role) const { return QItemDelegate::rect(option, index, role); } -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 QStyleOptionViewItem promoted_setOptions(const QModelIndex& index, const QStyleOptionViewItem& option) const { return QItemDelegate::setOptions(index, option); } -inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::sizeHint(option, index); } -inline QRect promoted_textRectangle(QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const { return QItemDelegate::textRectangle(painter, rect, font, text); } -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; - QPixmap decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const; - QRect doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const; - void drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, 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; - QRect rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) 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; - QStyleOptionViewItem setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const; - QSize sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; - QRect textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) 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) {}; - - ~PythonQtShell_QItemEditorCreatorBase(); - -virtual QWidget* createWidget(QWidget* parent) const; -virtual QByteArray valuePropertyName() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QItemEditorCreatorBase : public QItemEditorCreatorBase -{ public: -inline QWidget* promoted_createWidget(QWidget* parent) const { return this->createWidget(parent); } -inline QByteArray promoted_valuePropertyName() const { return this->valuePropertyName(); } -}; - -class PythonQtWrapper_QItemEditorCreatorBase : public QObject -{ Q_OBJECT -public: -public slots: -QItemEditorCreatorBase* new_QItemEditorCreatorBase(); -void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } - QWidget* createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const; - QByteArray valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QItemEditorFactory : public QItemEditorFactory -{ -public: - PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; - - ~PythonQtShell_QItemEditorFactory(); - -virtual QWidget* createEditor(int userType, QWidget* parent) const; -virtual QByteArray valuePropertyName(int userType) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory -{ public: -inline QWidget* promoted_createEditor(int userType, QWidget* parent) const { return QItemEditorFactory::createEditor(userType, parent); } -inline QByteArray promoted_valuePropertyName(int userType) const { return QItemEditorFactory::valuePropertyName(userType); } -}; - -class PythonQtWrapper_QItemEditorFactory : public QObject -{ Q_OBJECT -public: -public slots: -QItemEditorFactory* new_QItemEditorFactory(); -void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } - QWidget* createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const; - const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); - void registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator); - void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory); - QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) 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 = 0) const; - QList indexes(QItemSelection* theWrappedObject) const; - bool isEmpty(QItemSelection* theWrappedObject) const; - bool isSharedWith(QItemSelection* theWrappedObject, const QList& other) const; - const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; - int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from = -1) const; - int length(QItemSelection* theWrappedObject) const; - void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); - QList mid(QItemSelection* theWrappedObject, int pos, int length = -1) const; - void move(QItemSelection* theWrappedObject, int from, int to); - bool __ne__(QItemSelection* theWrappedObject, const QList& l) const; - bool __eq__(QItemSelection* theWrappedObject, const QList& l) const; - void pop_back(QItemSelection* theWrappedObject); - void pop_front(QItemSelection* theWrappedObject); - void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - void removeAt(QItemSelection* theWrappedObject, int i); - void removeFirst(QItemSelection* theWrappedObject); - void removeLast(QItemSelection* theWrappedObject); - bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); - void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); - void reserve(QItemSelection* theWrappedObject, int size); - void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); - void setSharable(QItemSelection* theWrappedObject, bool sharable); - int size(QItemSelection* theWrappedObject) const; - void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); - bool startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; - void swap(QItemSelection* theWrappedObject, QList& other); - void swap(QItemSelection* theWrappedObject, int i, int j); - 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) {}; - - ~PythonQtShell_QItemSelectionModel(); - -virtual void childEvent(QChildEvent* arg__1); -virtual void clear(); -virtual void clearCurrentIndex(); -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 setCurrentIndex(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_clearCurrentIndex() { QItemSelectionModel::clearCurrentIndex(); } -inline void promoted_emitSelectionChanged(const QItemSelection& newSelection, const QItemSelection& oldSelection) { QItemSelectionModel::emitSelectionChanged(newSelection, oldSelection); } -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); } -inline void promoted_setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::setCurrentIndex(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; } - void clear(QItemSelectionModel* theWrappedObject); - void clearCurrentIndex(QItemSelectionModel* theWrappedObject); - bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; - QModelIndex currentIndex(QItemSelectionModel* theWrappedObject) const; - void emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection); - 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; - void reset(QItemSelectionModel* theWrappedObject); - bool rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; - void select(QItemSelectionModel* theWrappedObject, const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); - void select(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command); - 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; - void setCurrentIndex(QItemSelectionModel* theWrappedObject, const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -}; - - - - - -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; - const QPersistentModelIndex* bottomRight(QItemSelectionRange* theWrappedObject) const; - bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; - bool contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const; - int height(QItemSelectionRange* theWrappedObject) const; - QList indexes(QItemSelectionRange* theWrappedObject) const; - QItemSelectionRange intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - bool intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - bool isEmpty(QItemSelectionRange* theWrappedObject) const; - bool isValid(QItemSelectionRange* theWrappedObject) const; - int left(QItemSelectionRange* theWrappedObject) const; - const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; - bool __ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - bool __lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - bool __eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; - QModelIndex parent(QItemSelectionRange* theWrappedObject) const; - int right(QItemSelectionRange* theWrappedObject) const; - int top(QItemSelectionRange* theWrappedObject) const; - const QPersistentModelIndex* 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) {}; - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(NULL) {}; - - ~PythonQtShell_QKeyEvent(); - - - 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); -QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); -void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } - int count(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) {}; - - ~PythonQtShell_QKeyEventTransition(); - -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) {}; - - ~PythonQtShell_QLCDNumber(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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; - 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 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) {}; - - ~PythonQtShell_QLabel(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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; - bool hasSelectedText(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; - QString selectedText(QLabel* theWrappedObject) const; - int selectionStart(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 setSelection(QLabel* theWrappedObject, int arg__1, int arg__2); - 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) {}; - - ~PythonQtShell_QLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual void childEvent(QChildEvent* e); -virtual QSizePolicy::ControlTypes controlTypes() const; -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_addChildLayout(QLayout* l) { QLayout::addChildLayout(l); } -inline void promoted_addChildWidget(QWidget* w) { QLayout::addChildWidget(w); } -inline void promoted_addItem(QLayoutItem* arg__1) { this->addItem(arg__1); } -inline QRect promoted_alignmentRect(const QRect& arg__1) const { return QLayout::alignmentRect(arg__1); } -inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); } -inline QSizePolicy::ControlTypes promoted_controlTypes() const { return QLayout::controlTypes(); } -inline int promoted_count() const { return this->count(); } -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 QLayoutItem* promoted_itemAt(int index) const { return this->itemAt(index); } -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); } -inline QLayoutItem* promoted_takeAt(int index) { return this->takeAt(index); } -inline void promoted_widgetEvent(QEvent* arg__1) { QLayout::widgetEvent(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 addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l); - void addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); - void addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); - void addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); - QRect alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const; - 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; - QSizePolicy::ControlTypes controlTypes(QLayout* theWrappedObject) const; - int count(QLayout* theWrappedObject) const; - Qt::Orientations expandingDirections(QLayout* theWrappedObject) const; - QRect geometry(QLayout* theWrappedObject) const; - int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; - void invalidate(QLayout* theWrappedObject); - bool isEmpty(QLayout* theWrappedObject) const; - bool isEnabled(QLayout* theWrappedObject) const; - QLayoutItem* itemAt(QLayout* theWrappedObject, int index) 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, PythonQtPassOwnershipToPython arg__1); - void removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython 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; - PythonQtPassOwnershipToPython takeAt(QLayout* theWrappedObject, int index); - int totalHeightForWidth(QLayout* theWrappedObject, int w) const; - QSize totalMaximumSize(QLayout* theWrappedObject) const; - QSize totalMinimumSize(QLayout* theWrappedObject) const; - QSize totalSizeHint(QLayout* theWrappedObject) const; - void update(QLayout* theWrappedObject); - void widgetEvent(QLayout* theWrappedObject, QEvent* arg__1); -}; - - - - - -class PythonQtShell_QLayoutItem : public QLayoutItem -{ -public: - PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {}; - - ~PythonQtShell_QLayoutItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual 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 QSizePolicy::ControlTypes promoted_controlTypes() const { return QLayoutItem::controlTypes(); } -inline Qt::Orientations promoted_expandingDirections() const { return this->expandingDirections(); } -inline QRect promoted_geometry() const { return this->geometry(); } -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 bool promoted_isEmpty() const { return this->isEmpty(); } -inline QLayout* promoted_layout() { return QLayoutItem::layout(); } -inline QSize promoted_maximumSize() const { return this->maximumSize(); } -inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } -inline QSize promoted_minimumSize() const { return this->minimumSize(); } -inline void promoted_setGeometry(const QRect& arg__1) { this->setGeometry(arg__1); } -inline QSize promoted_sizeHint() const { return this->sizeHint(); } -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; - Qt::Orientations expandingDirections(QLayoutItem* theWrappedObject) const; - QRect geometry(QLayoutItem* theWrappedObject) const; - bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; - int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; - void invalidate(QLayoutItem* theWrappedObject); - bool isEmpty(QLayoutItem* theWrappedObject) const; - QLayout* layout(QLayoutItem* theWrappedObject); - QSize maximumSize(QLayoutItem* theWrappedObject) const; - int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; - QSize minimumSize(QLayoutItem* theWrappedObject) const; - void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); - void setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1); - QSize sizeHint(QLayoutItem* theWrappedObject) const; - 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) {}; - - ~PythonQtShell_QLineEdit(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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 QRect promoted_cursorRect() const { return QLineEdit::cursorRect(); } -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_initStyleOption(QStyleOptionFrame* option) const { QLineEdit::initStyleOption(option); } -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); - Qt::CursorMoveStyle cursorMoveStyle(QLineEdit* theWrappedObject) const; - int cursorPosition(QLineEdit* theWrappedObject) const; - int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); - QRect cursorRect(QLineEdit* theWrappedObject) const; - 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); - void initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const; - 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 placeholderText(QLineEdit* theWrappedObject) const; - QString selectedText(QLineEdit* theWrappedObject) const; - int selectionStart(QLineEdit* theWrappedObject) const; - void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); - void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); - void setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style); - 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 setPlaceholderText(QLineEdit* theWrappedObject, const QString& 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) {}; - - ~PythonQtShell_QListView(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 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 setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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 QSize promoted_contentsSize() const { return QListView::contentsSize(); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QListView::currentChanged(current, previous); } -inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QListView::dataChanged(topLeft, bottomRight, roles); } -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 QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QListView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } -inline void promoted_paintEvent(QPaintEvent* e) { QListView::paintEvent(e); } -inline QRect promoted_rectForIndex(const QModelIndex& index) const { return QListView::rectForIndex(index); } -inline void promoted_reset() { QListView::reset(); } -inline void promoted_resizeContents(int width, int height) { QListView::resizeContents(width, height); } -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_setPositionForIndex(const QPoint& position, const QModelIndex& index) { QListView::setPositionForIndex(position, index); } -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); - QSize contentsSize(QListView* theWrappedObject) const; - void currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); - void dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); - 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); - QModelIndex moveCursor(QListView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers); - QListView::Movement movement(QListView* theWrappedObject) const; - void paintEvent(QListView* theWrappedObject, QPaintEvent* e); - QRect rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const; - void reset(QListView* theWrappedObject); - void resizeContents(QListView* theWrappedObject, int width, int height); - 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 setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index); - 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) {}; - - ~PythonQtShell_QListWidget(); - -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, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* 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 bool hasHeightForWidth() const; -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 initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void keyboardSearch(const QString& search); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = 0) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -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 QSize viewportSizeHint() const; -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 QModelIndex promoted_indexFromItem(QListWidgetItem* item) const { return QListWidget::indexFromItem(item); } -inline QListWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return QListWidget::itemFromIndex(index); } -inline QList promoted_items(const QMimeData* data) const { return QListWidget::items(data); } -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, PythonQtPassOwnershipToCPP 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; - QModelIndex indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const; - void insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP 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; - QListWidgetItem* itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const; - QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const; - QList items(QListWidget* theWrappedObject, const QMimeData* data) 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, PythonQtPassOwnershipToCPP widget); - void setSortingEnabled(QListWidget* theWrappedObject, bool enable); - void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder); - Qt::DropActions supportedDropActions(QListWidget* theWrappedObject) const; - PythonQtPassOwnershipToPython 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) {}; - - ~PythonQtShell_QListWidgetItem(); - -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(PythonQtNewOwnerOfThis view = 0, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = 0, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis 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) {}; - - ~PythonQtShell_QMainWindow(); - -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual QPainter* sharedPainter() const; -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); - QWidg