/*
 * Module code.
 *
 * Generated by SIP 6.7.0
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtPdfWidgets.h"

#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 32 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 38 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 41 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 72 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 47 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 55 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 373 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 332 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 61 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 318 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 64 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 434 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 67 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 487 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 70 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 456 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 73 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 473 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 76 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 545 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 79 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 794 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 82 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 346 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 85 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 290 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 88 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 276 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 91 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 262 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 94 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 247 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 97 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 729 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 100 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 103 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 206 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 106 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 775 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 109 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 741 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 112 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 50 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 115 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 118 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 121 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 124 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 127 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 208 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 130 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtPdfWidgets/qpdfview.sip"
#include <qpdfview.h>
#line 133 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtPdfWidgets[] = {
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'E', 'v', 'e', 'n', 't', 0,
    'P', 'y', 'Q', 't', '6', '.', 'Q', 't', 'P', 'd', 'f', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'Q', 'P', 'd', 'f', 'V', 'i', 'e', 'w', ':', ':', 'P', 'a', 'g', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'P', 'd', 'f', 'V', 'i', 'e', 'w', ':', ':', 'Z', 'o', 'o', 'm', 'M', 'o', 'd', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'P', 'r', 'e', 'v', 'C', 'h', 'i', 'l', 'd', 0,
    'p', 'a', 'g', 'e', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'h', 'a', 's', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'o', 'u', 's', 'e', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'z', 'o', 'o', 'm', 'F', 'a', 'c', 't', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'B', 'y', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'i', 'n', 'i', 't', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'k', 'e', 'y', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'm', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'g', 'e', 'M', 'o', 'd', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'z', 'o', 'o', 'm', 'M', 'o', 'd', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'O', 'u', 't', 'E', 'v', 'e', 'n', 't', 0,
    'k', 'e', 'y', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'g', 'e', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'Z', 'o', 'o', 'm', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'u', 'p', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    's', 'h', 'a', 'r', 'e', 'd', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'E', 'v', 'e', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'I', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'i', 'n', 'i', 't', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'g', 'e', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'Z', 'o', 'o', 'm', 'M', 'o', 'd', 'e', 0,
    't', 'a', 'b', 'l', 'e', 't', 'E', 'v', 'e', 'n', 't', 0,
    'F', 'i', 't', 'T', 'o', 'W', 'i', 'd', 't', 'h', 0,
    'S', 'i', 'n', 'g', 'l', 'e', 'P', 'a', 'g', 'e', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'l', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'l', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'w', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'z', 'o', 'o', 'm', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'F', 'i', 't', 'I', 'n', 'V', 'i', 'e', 'w', 0,
    'M', 'u', 'l', 't', 'i', 'P', 'a', 'g', 'e', 0,
    'd', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'i', 'd', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'P', 'd', 'f', 'V', 'i', 'e', 'w', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'p', 'a', 'g', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'z', 'o', 'o', 'm', 'M', 'o', 'd', 'e', 0,
    'd', 'e', 'v', 'T', 'y', 'p', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 0,
    'm', 'e', 't', 'r', 'i', 'c', 0,
    'e', 'v', 'e', 'n', 't', 0,
};

void sipVH_QtPdfWidgets_39(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QStyleOptionFrame*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QStyleOptionFrame, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_38(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QMetaMethod& a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QMetaMethod(a0), sipType_QMetaMethod, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_37(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QChildEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QChildEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_36(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTimerEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTimerEvent, SIP_NULLPTR);
}

bool sipVH_QtPdfWidgets_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0, ::QEvent*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "DD", a0, sipType_QObject, SIP_NULLPTR, a1, sipType_QEvent, SIP_NULLPTR);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

int sipVH_QtPdfWidgets_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPaintDevice::PaintDeviceMetric a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "F", a0, sipType_QPaintDevice_PaintDeviceMetric);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "i", &sipRes);

    return sipRes;
}

 ::QPaintEngine* sipVH_QtPdfWidgets_33(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::QPaintEngine* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QPaintEngine, &sipRes);

    return sipRes;
}

int sipVH_QtPdfWidgets_32(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "i", &sipRes);

    return sipRes;
}

void sipVH_QtPdfWidgets_31(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "b", a0);
}

int sipVH_QtPdfWidgets_30(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "i", a0);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "i", &sipRes);

    return sipRes;
}

void sipVH_QtPdfWidgets_29(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMouseEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMouseEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWheelEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QWheelEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QKeyEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QKeyEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QFocusEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QFocusEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEnterEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QEnterEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPaintEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QPaintEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMoveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMoveEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QResizeEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QResizeEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QCloseEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QCloseEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QContextMenuEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QContextMenuEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTabletEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTabletEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QActionEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QActionEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragEnterEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragEnterEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragMoveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragMoveEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_15(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDragLeaveEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDragLeaveEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QDropEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QDropEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QShowEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QShowEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QHideEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QHideEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QEvent, SIP_NULLPTR);
}

void sipVH_QtPdfWidgets_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QInputMethodEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QInputMethodEvent, SIP_NULLPTR);
}

 ::QVariant sipVH_QtPdfWidgets_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::Qt::InputMethodQuery a0)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "F", a0, sipType_Qt_InputMethodQuery);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QVariant, &sipRes);

    return sipRes;
}

bool sipVH_QtPdfWidgets_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "b", a0);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtPdfWidgets_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtPdfWidgets_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QByteArray& a0,void*a1, ::qintptr*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "NV", new  ::QByteArray(a0), sipType_QByteArray, SIP_NULLPTR, a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(bH4)", &sipRes, sipType_qintptr, a2);

    return sipRes;
}

 ::QPainter* sipVH_QtPdfWidgets_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::QPainter* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QPainter, &sipRes);

    return sipRes;
}

void sipVH_QtPdfWidgets_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QPainter*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QPainter, SIP_NULLPTR);
}

 ::QSize sipVH_QtPdfWidgets_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::QSize sipRes;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QSize, &sipRes);

    return sipRes;
}

bool sipVH_QtPdfWidgets_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(SIP_NULLPTR, sipMethod, "D", a0, sipType_QEvent, SIP_NULLPTR);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

void sipVH_QtPdfWidgets_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "ii", a0, a1);
}

void sipVH_QtPdfWidgets_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWidget*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QWidget, SIP_NULLPTR);
}


/* Convert to a sub-class if possible. */
extern "C" {static const sipTypeDef *sipSubClass_QPdfView(void **);}
static const sipTypeDef *sipSubClass_QPdfView(void **sipCppRet)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(*sipCppRet);
    const sipTypeDef *sipType;

#line 30 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtPdfWidgets/qpdfview.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QPdfView, &sipType_QPdfView, -1, -1},
    };
    
    int i = 0;
    
    sipType = NULL;
    
    do
    {
        struct class_graph *cg = &graph[i];
    
        if (cg->name != NULL && sipCpp->inherits(cg->name))
        {
            sipType = *cg->type;
            i = cg->yes;
        }
        else
            i = cg->no;
    }
    while (i >= 0);
#line 511 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPdfWidgets/sipQtPdfWidgetscmodule.cpp"

    return sipType;
}
static sipEnumTypeDef enumTypes[] = {
    {{SIP_NULLPTR, SIP_TYPE_ENUM, sipNameNr_QPdfView__PageMode, SIP_NULLPTR, 0}, SIP_ENUM_ENUM, sipNameNr_PageMode, 0, 2, SIP_NULLPTR},
    {{SIP_NULLPTR, SIP_TYPE_ENUM, sipNameNr_QPdfView__ZoomMode, SIP_NULLPTR, 0}, SIP_ENUM_ENUM, sipNameNr_ZoomMode, 0, 3, SIP_NULLPTR},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtPdfWidgets[] = {
    &sipTypeDef_QtPdfWidgets_QPdfView.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtPdfWidgets_QtCore[] = {
    {"QByteArray"},
    {"QChildEvent"},
    {"QEvent"},
    {"QMargins"},
    {"QMetaMethod"},
    {"QObject"},
    {"QSize"},
    {"QTimerEvent"},
    {"QVariant"},
    {"Qt::InputMethodQuery"},
    {"qintptr"},
    {SIP_NULLPTR}
};


/*
 * This defines the virtual error handlers that this module needs to import
 * from QtCore.
 */
sipImportedVirtErrorHandlerDef sipImportedVirtErrorHandlers_QtPdfWidgets_QtCore[] = {
    {"PyQt6"},
    {SIP_NULLPTR}
};


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtPdfWidgets_QtGui[] = {
    {"QActionEvent"},
    {"QCloseEvent"},
    {"QContextMenuEvent"},
    {"QDragEnterEvent"},
    {"QDragLeaveEvent"},
    {"QDragMoveEvent"},
    {"QDropEvent"},
    {"QEnterEvent"},
    {"QFocusEvent"},
    {"QHideEvent"},
    {"QInputMethodEvent"},
    {"QKeyEvent"},
    {"QMouseEvent"},
    {"QMoveEvent"},
    {"QPaintDevice"},
    {"QPaintDevice::PaintDeviceMetric"},
    {"QPaintEngine"},
    {"QPaintEvent"},
    {"QPainter"},
    {"QResizeEvent"},
    {"QShowEvent"},
    {"QTabletEvent"},
    {"QWheelEvent"},
    {SIP_NULLPTR}
};


/* This defines the types that this module needs to import from QtWidgets. */
sipImportedTypeDef sipImportedTypes_QtPdfWidgets_QtWidgets[] = {
    {"QAbstractScrollArea"},
    {"QFrame"},
    {"QStyleOptionFrame"},
    {"QWidget"},
    {SIP_NULLPTR}
};


/* This defines the types that this module needs to import from QtPdf. */
sipImportedTypeDef sipImportedTypes_QtPdfWidgets_QtPdf[] = {
    {"QPdfDocument"},
    {"QPdfPageNavigator"},
    {SIP_NULLPTR}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt6.QtCore", sipImportedTypes_QtPdfWidgets_QtCore, sipImportedVirtErrorHandlers_QtPdfWidgets_QtCore, SIP_NULLPTR},
    {"PyQt6.QtGui", sipImportedTypes_QtPdfWidgets_QtGui, SIP_NULLPTR, SIP_NULLPTR},
    {"PyQt6.QtWidgets", sipImportedTypes_QtPdfWidgets_QtWidgets, SIP_NULLPTR, SIP_NULLPTR},
    {"PyQt6.QtPdf", sipImportedTypes_QtPdfWidgets_QtPdf, SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QPdfView, {5, 0, 0}, SIP_NULLPTR},
    {SIP_NULLPTR, {0, 0, 0}, SIP_NULLPTR}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtPdfWidgets = {
    SIP_NULLPTR,
    4,
    sipNameNr_PyQt6_QtPdfWidgets,
    0,
    sipStrings_QtPdfWidgets,
    importsTable,
    3,
    sipExportedTypes_QtPdfWidgets,
    SIP_NULLPTR,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR,
    convertorsTable,
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtPdfWidgets;

sip_qt_metaobject_func sip_QtPdfWidgets_qt_metaobject;
sip_qt_metacall_func sip_QtPdfWidgets_qt_metacall;
sip_qt_metacast_func sip_QtPdfWidgets_qt_metacast;


/* The Python module initialisation function. */
#if defined(SIP_STATIC_MODULE)
extern "C" PyObject *PyInit_QtPdfWidgets()
#else
PyMODINIT_FUNC PyInit_QtPdfWidgets()
#endif
{
    static PyMethodDef sip_methods[] = {
        {SIP_NULLPTR, SIP_NULLPTR, 0, SIP_NULLPTR}
    };

    static PyModuleDef sip_module_def = {
        PyModuleDef_HEAD_INIT,
        "PyQt6.QtPdfWidgets",
        SIP_NULLPTR,
        -1,
        sip_methods,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_NULLPTR
    };

    PyObject *sipModule, *sipModuleDict;
    PyObject *sip_sipmod, *sip_capiobj;

    /* Initialise the module and get it's dictionary. */
    if ((sipModule = PyModule_Create(&sip_module_def)) == SIP_NULLPTR)
        return SIP_NULLPTR;

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Get the SIP module's API. */
    if ((sip_sipmod = PyImport_ImportModule("PyQt6.sip")) == SIP_NULLPTR)
    {
        Py_DECREF(sipModule);
        return SIP_NULLPTR;
    }

    sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API");
    Py_DECREF(sip_sipmod);

    if (sip_capiobj == SIP_NULLPTR || !PyCapsule_CheckExact(sip_capiobj))
    {
        PyErr_SetString(PyExc_AttributeError, "PyQt6.sip._C_API is missing or has the wrong type");
        Py_DECREF(sipModule);
        return SIP_NULLPTR;
    }

    sipAPI_QtPdfWidgets = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, "PyQt6.sip._C_API"));

    if (sipAPI_QtPdfWidgets == SIP_NULLPTR)
    {
        Py_DECREF(sipModule);
        return SIP_NULLPTR;
    }

    /* Export the module and publish it's API. */
    if (sipExportModule(&sipModuleAPI_QtPdfWidgets, 13, 4, 0) < 0)
    {
        Py_DECREF(sipModule);
        return SIP_NULLPTR;
    }

    sip_QtPdfWidgets_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtPdfWidgets_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtPdfWidgets_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

    if (!sip_QtPdfWidgets_qt_metacast)
        Py_FatalError("Unable to import qtcore_qt_metacast");

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_QtPdfWidgets,sipModuleDict) < 0)
    {
        Py_DECREF(sipModule);
        return SIP_NULLPTR;
    }
    qMetaTypeId< ::QPdfView::ZoomMode>();
    qMetaTypeId< ::QPdfView::PageMode>();

    return sipModule;
}
