/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQtWebEngine.
 * 
 * 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 "sipAPIQtWebEngineWidgets.h"

#line 26 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
#include <qwebenginepage.h>
#line 29 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"

#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebengineprofile.sip"
#include <qwebengineprofile.h>
#line 36 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebenginefindtextresult.sip"
#include <qwebenginefindtextresult.h>
#line 39 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip"
#include <qwebengineurlrequestinterceptor.h>
#line 42 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 29 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip"
#include <qwebengineclientcertificateselection.h>
#line 45 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip"
#include <qwebengineregisterprotocolhandlerrequest.h>
#line 48 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebenginequotarequest.sip"
#include <qwebenginequotarequest.h>
#line 51 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 109 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 54 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 57 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtPrintSupport/qprinter.sip"
#include <qprinter.h>
#line 60 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip"
#include <qwebenginedownloaditem.h>
#line 63 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 103 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qsize.sip"
#include <qsize.h>
#line 66 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 98 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 69 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtGui/qicon.sip"
#include <qicon.h>
#line 72 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip"
#include <qwebenginecontextmenudata.h>
#line 75 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtGui/qpagelayout.sip"
#include <qpagelayout.h>
#line 78 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip"
#include <qwebenginefullscreenrequest.h>
#line 81 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 84 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtWebChannel/qwebchannel.sip"
#include <qwebchannel.h>
#line 87 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip"
#include <qwebenginescriptcollection.h>
#line 90 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip"
#include <qwebenginecertificateerror.h>
#line 93 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 36 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 96 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtNetwork/qauthenticator.sip"
#include <qauthenticator.h>
#line 99 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qrect.sip"
#include <qrect.h>
#line 102 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginesettings.sip"
#include <qwebenginesettings.h>
#line 105 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 108 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebenginehttprequest.sip"
#include <qwebenginehttprequest.h>
#line 111 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 114 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
#include <qwebenginepage.h>
#line 117 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtWidgets/qaction.sip"
#include <qaction.h>
#line 123 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 126 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 51 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginehistory.sip"
#include <qwebenginehistory.h>
#line 129 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 134 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 137 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 247 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 140 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 235 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 146 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 38 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 149 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 149 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 152 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 155 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 158 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregexp.sip"
#include <qregexp.h>
#line 164 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 167 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 170 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"


class sipQWebEnginePage : public  ::QWebEnginePage
{
public:
    sipQWebEnginePage( ::QObject*);
    sipQWebEnginePage( ::QWebEngineProfile*, ::QObject*);
    virtual ~sipQWebEnginePage();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool acceptNavigationRequest(const  ::QUrl&, ::QWebEnginePage::NavigationType,bool) SIP_OVERRIDE;
    bool certificateError(const  ::QWebEngineCertificateError&) SIP_OVERRIDE;
    void javaScriptConsoleMessage( ::QWebEnginePage::JavaScriptConsoleMessageLevel,const  ::QString&,int,const  ::QString&) SIP_OVERRIDE;
    bool javaScriptPrompt(const  ::QUrl&,const  ::QString&,const  ::QString&, ::QString*) SIP_OVERRIDE;
    bool javaScriptConfirm(const  ::QUrl&,const  ::QString&) SIP_OVERRIDE;
    void javaScriptAlert(const  ::QUrl&,const  ::QString&) SIP_OVERRIDE;
     ::QStringList chooseFiles( ::QWebEnginePage::FileSelectionMode,const  ::QStringList&,const  ::QStringList&) SIP_OVERRIDE;
     ::QWebEnginePage* createWindow( ::QWebEnginePage::WebWindowType) SIP_OVERRIDE;
    void triggerAction( ::QWebEnginePage::WebAction,bool) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQWebEnginePage(const sipQWebEnginePage &);
    sipQWebEnginePage &operator = (const sipQWebEnginePage &);

    char sipPyMethods[16];
};

sipQWebEnginePage::sipQWebEnginePage( ::QObject*a0):  ::QWebEnginePage(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWebEnginePage::sipQWebEnginePage( ::QWebEngineProfile*a0, ::QObject*a1):  ::QWebEnginePage(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWebEnginePage::~sipQWebEnginePage()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQWebEnginePage::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWebEngineWidgets_qt_metaobject(sipPySelf,sipType_QWebEnginePage);

    return  ::QWebEnginePage::metaObject();
}

int sipQWebEnginePage::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QWebEnginePage::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtWebEngineWidgets_qt_metacall(sipPySelf,sipType_QWebEnginePage,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQWebEnginePage::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWebEngineWidgets_qt_metacast(sipPySelf, sipType_QWebEnginePage, _clname, &sipCpp) ? sipCpp :  ::QWebEnginePage::qt_metacast(_clname));
}

bool sipQWebEnginePage::acceptNavigationRequest(const  ::QUrl& a0, ::QWebEnginePage::NavigationType a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_acceptNavigationRequest);

    if (!sipMeth)
        return  ::QWebEnginePage::acceptNavigationRequest(a0,a1,a2);

    extern bool sipVH_QtWebEngineWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&, ::QWebEnginePage::NavigationType,bool);

    return sipVH_QtWebEngineWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQWebEnginePage::certificateError(const  ::QWebEngineCertificateError& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_certificateError);

    if (!sipMeth)
        return  ::QWebEnginePage::certificateError(a0);

    extern bool sipVH_QtWebEngineWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QWebEngineCertificateError&);

    return sipVH_QtWebEngineWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::javaScriptConsoleMessage( ::QWebEnginePage::JavaScriptConsoleMessageLevel a0,const  ::QString& a1,int a2,const  ::QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_javaScriptConsoleMessage);

    if (!sipMeth)
    {
         ::QWebEnginePage::javaScriptConsoleMessage(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebEnginePage::JavaScriptConsoleMessageLevel,const  ::QString&,int,const  ::QString&);

    sipVH_QtWebEngineWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQWebEnginePage::javaScriptPrompt(const  ::QUrl& a0,const  ::QString& a1,const  ::QString& a2, ::QString*a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_javaScriptPrompt);

    if (!sipMeth)
        return  ::QWebEnginePage::javaScriptPrompt(a0,a1,a2,a3);

    extern bool sipVH_QtWebEngineWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&,const  ::QString&,const  ::QString&, ::QString*);

    return sipVH_QtWebEngineWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQWebEnginePage::javaScriptConfirm(const  ::QUrl& a0,const  ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_javaScriptConfirm);

    if (!sipMeth)
        return  ::QWebEnginePage::javaScriptConfirm(a0,a1);

    extern bool sipVH_QtWebEngineWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&,const  ::QString&);

    return sipVH_QtWebEngineWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQWebEnginePage::javaScriptAlert(const  ::QUrl& a0,const  ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_javaScriptAlert);

    if (!sipMeth)
    {
         ::QWebEnginePage::javaScriptAlert(a0,a1);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&,const  ::QString&);

    sipVH_QtWebEngineWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQWebEnginePage::chooseFiles( ::QWebEnginePage::FileSelectionMode a0,const  ::QStringList& a1,const  ::QStringList& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_chooseFiles);

    if (!sipMeth)
        return  ::QWebEnginePage::chooseFiles(a0,a1,a2);

    extern  ::QStringList sipVH_QtWebEngineWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebEnginePage::FileSelectionMode,const  ::QStringList&,const  ::QStringList&);

    return sipVH_QtWebEngineWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QWebEnginePage* sipQWebEnginePage::createWindow( ::QWebEnginePage::WebWindowType a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_createWindow);

    if (!sipMeth)
        return  ::QWebEnginePage::createWindow(a0);

    extern  ::QWebEnginePage* sipVH_QtWebEngineWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebEnginePage::WebWindowType);

    return sipVH_QtWebEngineWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::triggerAction( ::QWebEnginePage::WebAction a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_triggerAction);

    if (!sipMeth)
    {
         ::QWebEnginePage::triggerAction(a0,a1);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebEnginePage::WebAction,bool);

    sipVH_QtWebEngineWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQWebEnginePage::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QWebEnginePage::event(a0);

    extern bool sipVH_QtWebEngineWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWebEngineWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWebEnginePage::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[10], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QWebEnginePage::eventFilter(a0,a1);

    extern bool sipVH_QtWebEngineWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWebEngineWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQWebEnginePage::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QWebEnginePage::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWebEngineWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[12], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QWebEnginePage::childEvent(a0);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWebEngineWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QWebEnginePage::customEvent(a0);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWebEngineWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[14], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QWebEnginePage::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWebEngineWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQWebEnginePage::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QWebEnginePage::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWebEngineWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWebEngineWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QWebEnginePage_history, "history(self) -> QWebEngineHistory");

extern "C" {static PyObject *meth_QWebEnginePage_history(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_history(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEngineHistory*sipRes;

            sipRes = sipCpp->history();

            return sipConvertFromType(sipRes,sipType_QWebEngineHistory,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_history, doc_QWebEnginePage_history);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setView, "setView(self, QWidget)");

extern "C" {static PyObject *meth_QWebEnginePage_setView(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWidget* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setView(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setView, doc_QWebEnginePage_setView);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_view, "view(self) -> QWidget");

extern "C" {static PyObject *meth_QWebEnginePage_view(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWidget*sipRes;

            sipRes = sipCpp->view();

            return sipConvertFromType(sipRes,sipType_QWidget,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_view, doc_QWebEnginePage_view);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_hasSelection, "hasSelection(self) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_hasSelection(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_hasSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasSelection();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_hasSelection, doc_QWebEnginePage_hasSelection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_selectedText, "selectedText(self) -> str");

extern "C" {static PyObject *meth_QWebEnginePage_selectedText(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_selectedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->selectedText());

            return sipConvertFromNewType(sipRes,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_selectedText, doc_QWebEnginePage_selectedText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_action, "action(self, QWebEnginePage.WebAction) -> QAction");

extern "C" {static PyObject *meth_QWebEnginePage_action(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage::WebAction a0;
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_WebAction, &a0))
        {
             ::QAction*sipRes;

            sipRes = sipCpp->action(a0);

            return sipConvertFromType(sipRes,sipType_QAction,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_action, doc_QWebEnginePage_action);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_triggerAction, "triggerAction(self, QWebEnginePage.WebAction, checked: bool = False)");

extern "C" {static PyObject *meth_QWebEnginePage_triggerAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_triggerAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWebEnginePage::WebAction a0;
        bool a1 = 0;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_checked,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE|b", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_WebAction, &a0, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::triggerAction(a0,a1) : sipCpp->triggerAction(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_triggerAction, doc_QWebEnginePage_triggerAction);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_event(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_event, doc_QWebEnginePage_event);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_findText, "findText(self, str, options: Union[QWebEnginePage.FindFlags, QWebEnginePage.FindFlag] = QWebEnginePage.FindFlags(), resultCallback: Callable[[bool], None] = 0)");

extern "C" {static PyObject *meth_QWebEnginePage_findText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_findText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWebEnginePage::FindFlags a1def = QWebEnginePage::FindFlags();
         ::QWebEnginePage::FindFlags* a1 = &a1def;
        int a1State = 0;
        PyObject * a2 = 0;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_options,
            sipName_resultCallback,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J1H", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, sipType_QWebEnginePage_FindFlags, &a1, &a1State, &a2))
        {
#line 219 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure any callable doesn't get garbage collected until it is invoked.
        Py_XINCREF(a2);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->findText(*a0, *a1, [a2](bool arg) {
            if (a2)
            {
                SIP_BLOCK_THREADS
                
                PyObject *res;
        
                res = PyObject_CallFunctionObjArgs(a2, (arg ? Py_True : Py_False), NULL);
        
                Py_DECREF(a2);
        
                if (!res)
                    pyqt5_qtwebenginewidgets_err_print();
                else
                    Py_DECREF(res);
        
                SIP_UNBLOCK_THREADS
            }
        });
        
        Py_END_ALLOW_THREADS
#line 803 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(a1, sipType_QWebEnginePage_FindFlags, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_findText, doc_QWebEnginePage_findText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_createStandardContextMenu, "createStandardContextMenu(self) -> QMenu");

extern "C" {static PyObject *meth_QWebEnginePage_createStandardContextMenu(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_createStandardContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QMenu*sipRes;

            sipRes = sipCpp->createStandardContextMenu();

            return sipConvertFromNewType(sipRes,sipType_QMenu,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_createStandardContextMenu, doc_QWebEnginePage_createStandardContextMenu);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setFeaturePermission, "setFeaturePermission(self, QUrl, QWebEnginePage.Feature, QWebEnginePage.PermissionPolicy)");

extern "C" {static PyObject *meth_QWebEnginePage_setFeaturePermission(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setFeaturePermission(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QUrl* a0;
         ::QWebEnginePage::Feature a1;
         ::QWebEnginePage::PermissionPolicy a2;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9EE", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QWebEnginePage_Feature, &a1, sipType_QWebEnginePage_PermissionPolicy, &a2))
        {
            sipCpp->setFeaturePermission(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setFeaturePermission, doc_QWebEnginePage_setFeaturePermission);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_load, "load(self, QUrl)\n"
"load(self, QWebEngineHttpRequest)");

extern "C" {static PyObject *meth_QWebEnginePage_load(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QUrl* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->load(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebEngineHttpRequest* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEngineHttpRequest, &a0))
        {
            sipCpp->load(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_load, doc_QWebEnginePage_load);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setHtml, "setHtml(self, str, baseUrl: QUrl = QUrl())");

extern "C" {static PyObject *meth_QWebEnginePage_setHtml(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setHtml(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QUrl& a1def = QUrl();
        const  ::QUrl* a1 = &a1def;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_baseUrl,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, sipType_QUrl, &a1))
        {
            sipCpp->setHtml(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setHtml, doc_QWebEnginePage_setHtml);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setContent, "setContent(self, Union[QByteArray, bytes, bytearray], mimeType: str = '', baseUrl: QUrl = QUrl())");

extern "C" {static PyObject *meth_QWebEnginePage_setContent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setContent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QUrl& a2def = QUrl();
        const  ::QUrl* a2 = &a2def;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_mimeType,
            sipName_baseUrl,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J1J9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QString, &a1, &a1State, sipType_QUrl, &a2))
        {
            sipCpp->setContent(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setContent, doc_QWebEnginePage_setContent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_toHtml, "toHtml(self, Callable[[str], None])");

extern "C" {static PyObject *meth_QWebEnginePage_toHtml(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_toHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        PyObject * a0;
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BF", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0))
        {
#line 257 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a0);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->toHtml([a0](const QString &arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a0, "N", new QString(arg), sipType_QString, NULL);
        
            Py_DECREF(a0);
            
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
            
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 1031 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_toHtml, doc_QWebEnginePage_toHtml);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_toPlainText, "toPlainText(self, Callable[[str], None])");

extern "C" {static PyObject *meth_QWebEnginePage_toPlainText(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_toPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        PyObject * a0;
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BF", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0))
        {
#line 284 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a0);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->toPlainText([a0](const QString &arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a0, "N", new QString(arg), sipType_QString, NULL);
        
            Py_DECREF(a0);
            
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
            
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 1082 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_toPlainText, doc_QWebEnginePage_toPlainText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_title, "title(self) -> str");

extern "C" {static PyObject *meth_QWebEnginePage_title(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_title(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->title());

            return sipConvertFromNewType(sipRes,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_title, doc_QWebEnginePage_title);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setUrl, "setUrl(self, QUrl)");

extern "C" {static PyObject *meth_QWebEnginePage_setUrl(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QUrl* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->setUrl(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setUrl, doc_QWebEnginePage_setUrl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_url, "url(self) -> QUrl");

extern "C" {static PyObject *meth_QWebEnginePage_url(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->url());

            return sipConvertFromNewType(sipRes,sipType_QUrl,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_url, doc_QWebEnginePage_url);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_requestedUrl, "requestedUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QWebEnginePage_requestedUrl(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_requestedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->requestedUrl());

            return sipConvertFromNewType(sipRes,sipType_QUrl,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_requestedUrl, doc_QWebEnginePage_requestedUrl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_iconUrl, "iconUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QWebEnginePage_iconUrl(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_iconUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->iconUrl());

            return sipConvertFromNewType(sipRes,sipType_QUrl,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_iconUrl, doc_QWebEnginePage_iconUrl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_zoomFactor, "zoomFactor(self) -> float");

extern "C" {static PyObject *meth_QWebEnginePage_zoomFactor(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_zoomFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->zoomFactor();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_zoomFactor, doc_QWebEnginePage_zoomFactor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setZoomFactor, "setZoomFactor(self, float)");

extern "C" {static PyObject *meth_QWebEnginePage_setZoomFactor(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setZoomFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::qreal a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0))
        {
            sipCpp->setZoomFactor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setZoomFactor, doc_QWebEnginePage_setZoomFactor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_runJavaScript, "runJavaScript(self, str, int)\n"
"runJavaScript(self, str, int, Callable[..., None])\n"
"runJavaScript(self, str)\n"
"runJavaScript(self, str, Callable[[Any], None])");

extern "C" {static PyObject *meth_QWebEnginePage_runJavaScript(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_runJavaScript(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::quint32 a1;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1u", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
            sipCpp->runJavaScript(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::quint32 a1;
        PyObject * a2;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1uF", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, &a1, &a2))
        {
#line 322 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a2);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->runJavaScript(*a0, a1, [a2](const QVariant &arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a2, "N", new QVariant(arg), sipType_QVariant, NULL);
        
            Py_DECREF(a2);
        
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 1347 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->runJavaScript(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        PyObject * a1;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1F", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
#line 351 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a1);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->runJavaScript(*a0, [a1](const QVariant &arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a1, "N", new QVariant(arg), sipType_QVariant, NULL);
        
            Py_DECREF(a1);
        
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 1402 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_runJavaScript, doc_QWebEnginePage_runJavaScript);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_settings, "settings(self) -> QWebEngineSettings");

extern "C" {static PyObject *meth_QWebEnginePage_settings(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_settings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEngineSettings*sipRes;

            sipRes = sipCpp->settings();

            return sipConvertFromType(sipRes,sipType_QWebEngineSettings,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_settings, doc_QWebEnginePage_settings);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_createWindow, "createWindow(self, QWebEnginePage.WebWindowType) -> QWebEnginePage");

extern "C" {static PyObject *meth_QWebEnginePage_createWindow(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_createWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWebEnginePage::WebWindowType a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_WebWindowType, &a0))
        {
             ::QWebEnginePage*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::createWindow(a0) : sipCpp->createWindow(a0));

            return sipConvertFromType(sipRes,sipType_QWebEnginePage,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_createWindow, doc_QWebEnginePage_createWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_chooseFiles, "chooseFiles(self, QWebEnginePage.FileSelectionMode, Iterable[str], Iterable[str]) -> List[str]");

extern "C" {static PyObject *meth_QWebEnginePage_chooseFiles(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_chooseFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWebEnginePage::FileSelectionMode a0;
        const  ::QStringList* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1J1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_FileSelectionMode, &a0, sipType_QStringList, &a1, &a1State, sipType_QStringList, &a2, &a2State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QWebEnginePage::chooseFiles(a0,*a1,*a2) : sipCpp->chooseFiles(a0,*a1,*a2)));
            sipReleaseType(const_cast< ::QStringList *>(a1), sipType_QStringList, a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2), sipType_QStringList, a2State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_chooseFiles, doc_QWebEnginePage_chooseFiles);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_javaScriptAlert, "javaScriptAlert(self, QUrl, str)");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptAlert(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptAlert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QString, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::javaScriptAlert(*a0,*a1) : sipCpp->javaScriptAlert(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_javaScriptAlert, doc_QWebEnginePage_javaScriptAlert);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_javaScriptConfirm, "javaScriptConfirm(self, QUrl, str) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptConfirm(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptConfirm(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QString, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::javaScriptConfirm(*a0,*a1) : sipCpp->javaScriptConfirm(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_javaScriptConfirm, doc_QWebEnginePage_javaScriptConfirm);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_javaScriptPrompt, "javaScriptPrompt(self, QUrl, str, str) -> Tuple[bool, str]");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptPrompt(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptPrompt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QUrl* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::QString* a3;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1J1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QString, &a1, &a1State, sipType_QString, &a2, &a2State))
        {
            bool sipRes;
            a3 = new  ::QString();

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::javaScriptPrompt(*a0,*a1,*a2,a3) : sipCpp->javaScriptPrompt(*a0,*a1,*a2,a3));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);
            sipReleaseType(const_cast< ::QString *>(a2), sipType_QString, a2State);

            return sipBuildResult(0,"(bN)",sipRes,a3,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_javaScriptPrompt, doc_QWebEnginePage_javaScriptPrompt);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_javaScriptConsoleMessage, "javaScriptConsoleMessage(self, QWebEnginePage.JavaScriptConsoleMessageLevel, str, int, str)");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptConsoleMessage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptConsoleMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWebEnginePage::JavaScriptConsoleMessageLevel a0;
        const  ::QString* a1;
        int a1State = 0;
        int a2;
        const  ::QString* a3;
        int a3State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1iJ1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_JavaScriptConsoleMessageLevel, &a0, sipType_QString, &a1, &a1State, &a2, sipType_QString, &a3, &a3State))
        {
            (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::javaScriptConsoleMessage(a0,*a1,a2,*a3) : sipCpp->javaScriptConsoleMessage(a0,*a1,a2,*a3));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);
            sipReleaseType(const_cast< ::QString *>(a3), sipType_QString, a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_javaScriptConsoleMessage, doc_QWebEnginePage_javaScriptConsoleMessage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_certificateError, "certificateError(self, QWebEngineCertificateError) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_certificateError(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_certificateError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QWebEngineCertificateError* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEngineCertificateError, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::certificateError(*a0) : sipCpp->certificateError(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_certificateError, doc_QWebEnginePage_certificateError);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_profile, "profile(self) -> QWebEngineProfile");

extern "C" {static PyObject *meth_QWebEnginePage_profile(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_profile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEngineProfile*sipRes;

            sipRes = sipCpp->profile();

            return sipConvertFromType(sipRes,sipType_QWebEngineProfile,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_profile, doc_QWebEnginePage_profile);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_scripts, "scripts(self) -> QWebEngineScriptCollection");

extern "C" {static PyObject *meth_QWebEnginePage_scripts(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_scripts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEngineScriptCollection*sipRes;

            sipRes = &sipCpp->scripts();

            return sipConvertFromType(sipRes,sipType_QWebEngineScriptCollection,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_scripts, doc_QWebEnginePage_scripts);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_webChannel, "webChannel(self) -> QWebChannel");

extern "C" {static PyObject *meth_QWebEnginePage_webChannel(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_webChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebChannel*sipRes;

            sipRes = sipCpp->webChannel();

            return sipConvertFromType(sipRes,sipType_QWebChannel,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_webChannel, doc_QWebEnginePage_webChannel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setWebChannel, "setWebChannel(self, QWebChannel)\n"
"setWebChannel(self, QWebChannel, int)");

extern "C" {static PyObject *meth_QWebEnginePage_setWebChannel(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setWebChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebChannel* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebChannel, &a0))
        {
            sipCpp->setWebChannel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QWebChannel* a0;
         ::uint a1;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8u", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebChannel, &a0, &a1))
        {
            sipCpp->setWebChannel(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setWebChannel, doc_QWebEnginePage_setWebChannel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_acceptNavigationRequest, "acceptNavigationRequest(self, QUrl, QWebEnginePage.NavigationType, bool) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_acceptNavigationRequest(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_acceptNavigationRequest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QUrl* a0;
         ::QWebEnginePage::NavigationType a1;
        bool a2;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9Eb", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QWebEnginePage_NavigationType, &a1, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebEnginePage::acceptNavigationRequest(*a0,a1,a2) : sipCpp->acceptNavigationRequest(*a0,a1,a2));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_acceptNavigationRequest, doc_QWebEnginePage_acceptNavigationRequest);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_backgroundColor, "backgroundColor(self) -> QColor");

extern "C" {static PyObject *meth_QWebEnginePage_backgroundColor(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_backgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor(sipCpp->backgroundColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_backgroundColor, doc_QWebEnginePage_backgroundColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setBackgroundColor, "setBackgroundColor(self, Union[QColor, Qt.GlobalColor])");

extern "C" {static PyObject *meth_QWebEnginePage_setBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setBackgroundColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setBackgroundColor, doc_QWebEnginePage_setBackgroundColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_icon, "icon(self) -> QIcon");

extern "C" {static PyObject *meth_QWebEnginePage_icon(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QIcon*sipRes;

            sipRes = new  ::QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_icon, doc_QWebEnginePage_icon);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_scrollPosition, "scrollPosition(self) -> QPointF");

extern "C" {static PyObject *meth_QWebEnginePage_scrollPosition(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_scrollPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->scrollPosition());

            return sipConvertFromNewType(sipRes,sipType_QPointF,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_scrollPosition, doc_QWebEnginePage_scrollPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_contentsSize, "contentsSize(self) -> QSizeF");

extern "C" {static PyObject *meth_QWebEnginePage_contentsSize(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_contentsSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->contentsSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_contentsSize, doc_QWebEnginePage_contentsSize);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_isAudioMuted, "isAudioMuted(self) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_isAudioMuted(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_isAudioMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAudioMuted();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_isAudioMuted, doc_QWebEnginePage_isAudioMuted);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setAudioMuted, "setAudioMuted(self, bool)");

extern "C" {static PyObject *meth_QWebEnginePage_setAudioMuted(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setAudioMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        bool a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0))
        {
            sipCpp->setAudioMuted(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setAudioMuted, doc_QWebEnginePage_setAudioMuted);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_recentlyAudible, "recentlyAudible(self) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_recentlyAudible(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_recentlyAudible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->recentlyAudible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_recentlyAudible, doc_QWebEnginePage_recentlyAudible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_printToPdf, "printToPdf(self, str, pageLayout: QPageLayout = QPageLayout(QPageSize(QPageSize.PageSizeId.A4),QPageLayout.Orientation.Portrait,QMarginsF()))\n"
"printToPdf(self, Callable[[Union[QByteArray, bytes, bytearray]], None], pageLayout: QPageLayout = QPageLayout(QPageSize(QPageSize.PageSizeId.A4),QPageLayout.Orientation.Portrait,QMarginsF()))");

extern "C" {static PyObject *meth_QWebEnginePage_printToPdf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_printToPdf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QPageLayout& a1def = QPageLayout(QPageSize(QPageSize::PageSizeId::A4),QPageLayout::Orientation::Portrait,QMarginsF());
        const  ::QPageLayout* a1 = &a1def;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_pageLayout,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|J9", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, sipType_QPageLayout, &a1))
        {
            sipCpp->printToPdf(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        const  ::QPageLayout& a1def = QPageLayout(QPageSize(QPageSize::PageSizeId::A4),QPageLayout::Orientation::Portrait,QMarginsF());
        const  ::QPageLayout* a1 = &a1def;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_pageLayout,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BF|J9", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0, sipType_QPageLayout, &a1))
        {
#line 499 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a0);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->printToPdf([a0](const QByteArray &arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a0, "N", new QByteArray(arg), sipType_QByteArray, NULL);
        
            Py_DECREF(a0);
        
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        }, *a1);
        
        Py_END_ALLOW_THREADS
#line 2113 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_printToPdf, doc_QWebEnginePage_printToPdf);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_contextMenuData, "contextMenuData(self) -> QWebEngineContextMenuData");

extern "C" {static PyObject *meth_QWebEnginePage_contextMenuData(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_contextMenuData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEngineContextMenuData*sipRes;

            sipRes = new  ::QWebEngineContextMenuData(sipCpp->contextMenuData());

            return sipConvertFromNewType(sipRes,sipType_QWebEngineContextMenuData,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_contextMenuData, doc_QWebEnginePage_contextMenuData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_replaceMisspelledWord, "replaceMisspelledWord(self, str)");

extern "C" {static PyObject *meth_QWebEnginePage_replaceMisspelledWord(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_replaceMisspelledWord(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->replaceMisspelledWord(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_replaceMisspelledWord, doc_QWebEnginePage_replaceMisspelledWord);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_save, "save(self, str, format: QWebEngineDownloadItem.SavePageFormat = QWebEngineDownloadItem.MimeHtmlSaveFormat)");

extern "C" {static PyObject *meth_QWebEnginePage_save(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_save(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWebEngineDownloadItem::SavePageFormat a1 = QWebEngineDownloadItem::MimeHtmlSaveFormat;
        const  ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|E", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, sipType_QWebEngineDownloadItem_SavePageFormat, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_save, doc_QWebEnginePage_save);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_print, "print(self, QPrinter, Callable[[bool], None])");

extern "C" {static PyObject *meth_QWebEnginePage_print(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_print(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QPrinter* a0;
        PyObject * a1;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8F", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QPrinter, &a0, &a1))
        {
#line 561 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineWidgets/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_INCREF(a1);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->print(a0, [a1](bool arg) {
            SIP_BLOCK_THREADS
            
            PyObject *res;
        
            res = sipCallMethod(NULL, a1, "b", arg);
        
            Py_DECREF(a1);
        
            if (!res)
                pyqt5_qtwebenginewidgets_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 2258 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_print, doc_QWebEnginePage_print);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_download, "download(self, QUrl, filename: str = '')");

extern "C" {static PyObject *meth_QWebEnginePage_download(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_download(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QUrl* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::QWebEnginePage *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_filename,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9|J1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QUrl, &a0, sipType_QString, &a1, &a1State))
        {
            sipCpp->download(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_download, doc_QWebEnginePage_download);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setInspectedPage, "setInspectedPage(self, QWebEnginePage)");

extern "C" {static PyObject *meth_QWebEnginePage_setInspectedPage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setInspectedPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage, &a0))
        {
            sipCpp->setInspectedPage(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setInspectedPage, doc_QWebEnginePage_setInspectedPage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_inspectedPage, "inspectedPage(self) -> QWebEnginePage");

extern "C" {static PyObject *meth_QWebEnginePage_inspectedPage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_inspectedPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEnginePage*sipRes;

            sipRes = sipCpp->inspectedPage();

            return sipConvertFromType(sipRes,sipType_QWebEnginePage,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_inspectedPage, doc_QWebEnginePage_inspectedPage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setDevToolsPage, "setDevToolsPage(self, QWebEnginePage)");

extern "C" {static PyObject *meth_QWebEnginePage_setDevToolsPage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setDevToolsPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage, &a0))
        {
            sipCpp->setDevToolsPage(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setDevToolsPage, doc_QWebEnginePage_setDevToolsPage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_devToolsPage, "devToolsPage(self) -> QWebEnginePage");

extern "C" {static PyObject *meth_QWebEnginePage_devToolsPage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_devToolsPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEnginePage*sipRes;

            sipRes = sipCpp->devToolsPage();

            return sipConvertFromType(sipRes,sipType_QWebEnginePage,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_devToolsPage, doc_QWebEnginePage_devToolsPage);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setUrlRequestInterceptor, "setUrlRequestInterceptor(self, QWebEngineUrlRequestInterceptor)");

extern "C" {static PyObject *meth_QWebEnginePage_setUrlRequestInterceptor(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setUrlRequestInterceptor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEngineUrlRequestInterceptor* a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEngineUrlRequestInterceptor, &a0))
        {
            sipCpp->setUrlRequestInterceptor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setUrlRequestInterceptor, doc_QWebEnginePage_setUrlRequestInterceptor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_lifecycleState, "lifecycleState(self) -> QWebEnginePage.LifecycleState");

extern "C" {static PyObject *meth_QWebEnginePage_lifecycleState(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_lifecycleState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEnginePage::LifecycleState sipRes;

            sipRes = sipCpp->lifecycleState();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QWebEnginePage_LifecycleState);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_lifecycleState, doc_QWebEnginePage_lifecycleState);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setLifecycleState, "setLifecycleState(self, QWebEnginePage.LifecycleState)");

extern "C" {static PyObject *meth_QWebEnginePage_setLifecycleState(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setLifecycleState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QWebEnginePage::LifecycleState a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QWebEnginePage_LifecycleState, &a0))
        {
            sipCpp->setLifecycleState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setLifecycleState, doc_QWebEnginePage_setLifecycleState);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_recommendedState, "recommendedState(self) -> QWebEnginePage.LifecycleState");

extern "C" {static PyObject *meth_QWebEnginePage_recommendedState(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_recommendedState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::QWebEnginePage::LifecycleState sipRes;

            sipRes = sipCpp->recommendedState();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QWebEnginePage_LifecycleState);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_recommendedState, doc_QWebEnginePage_recommendedState);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_isVisible, "isVisible(self) -> bool");

extern "C" {static PyObject *meth_QWebEnginePage_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_isVisible, doc_QWebEnginePage_isVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_setVisible, "setVisible(self, bool)");

extern "C" {static PyObject *meth_QWebEnginePage_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        bool a0;
         ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_setVisible, doc_QWebEnginePage_setVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_renderProcessPid, "renderProcessPid(self) -> int");

extern "C" {static PyObject *meth_QWebEnginePage_renderProcessPid(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_renderProcessPid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEnginePage, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->renderProcessPid();

            return PyLong_FromLongLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_renderProcessPid, doc_QWebEnginePage_renderProcessPid);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QWebEnginePage(void *, const sipTypeDef *);}
static void *cast_QWebEnginePage(void *sipCppV, const sipTypeDef *targetType)
{
     ::QWebEnginePage *sipCpp = reinterpret_cast< ::QWebEnginePage *>(sipCppV);

    if (targetType == sipType_QWebEnginePage)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebEnginePage(void *, int);}
static void release_QWebEnginePage(void *sipCppV, int)
{
     ::QWebEnginePage *sipCpp = reinterpret_cast< ::QWebEnginePage *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QWebEnginePage(Py_ssize_t);}
static void *array_QWebEnginePage(Py_ssize_t sipNrElem)
{
    return new  ::QWebEnginePage[sipNrElem];
}


extern "C" {static void array_delete_QWebEnginePage(void *);}
static void array_delete_QWebEnginePage(void *sipCpp)
{
    delete[] reinterpret_cast< ::QWebEnginePage *>(sipCpp);
}


extern "C" {static void dealloc_QWebEnginePage(sipSimpleWrapper *);}
static void dealloc_QWebEnginePage(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQWebEnginePage *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebEnginePage(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QWebEnginePage(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebEnginePage(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQWebEnginePage *sipCpp = SIP_NULLPTR;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQWebEnginePage(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWebEngineProfile* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QWebEngineProfile, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQWebEnginePage(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWebEnginePage[] = {{7, 0, 1}};


static PyMethodDef methods_QWebEnginePage[] = {
    {sipName_acceptNavigationRequest, meth_QWebEnginePage_acceptNavigationRequest, METH_VARARGS, doc_QWebEnginePage_acceptNavigationRequest},
    {sipName_action, meth_QWebEnginePage_action, METH_VARARGS, doc_QWebEnginePage_action},
    {sipName_backgroundColor, meth_QWebEnginePage_backgroundColor, METH_VARARGS, doc_QWebEnginePage_backgroundColor},
    {sipName_certificateError, meth_QWebEnginePage_certificateError, METH_VARARGS, doc_QWebEnginePage_certificateError},
    {sipName_chooseFiles, meth_QWebEnginePage_chooseFiles, METH_VARARGS, doc_QWebEnginePage_chooseFiles},
    {sipName_contentsSize, meth_QWebEnginePage_contentsSize, METH_VARARGS, doc_QWebEnginePage_contentsSize},
    {sipName_contextMenuData, meth_QWebEnginePage_contextMenuData, METH_VARARGS, doc_QWebEnginePage_contextMenuData},
    {sipName_createStandardContextMenu, meth_QWebEnginePage_createStandardContextMenu, METH_VARARGS, doc_QWebEnginePage_createStandardContextMenu},
    {sipName_createWindow, meth_QWebEnginePage_createWindow, METH_VARARGS, doc_QWebEnginePage_createWindow},
    {sipName_devToolsPage, meth_QWebEnginePage_devToolsPage, METH_VARARGS, doc_QWebEnginePage_devToolsPage},
    {sipName_download, SIP_MLMETH_CAST(meth_QWebEnginePage_download), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_download},
    {sipName_event, meth_QWebEnginePage_event, METH_VARARGS, doc_QWebEnginePage_event},
    {sipName_findText, SIP_MLMETH_CAST(meth_QWebEnginePage_findText), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_findText},
    {sipName_hasSelection, meth_QWebEnginePage_hasSelection, METH_VARARGS, doc_QWebEnginePage_hasSelection},
    {sipName_history, meth_QWebEnginePage_history, METH_VARARGS, doc_QWebEnginePage_history},
    {sipName_icon, meth_QWebEnginePage_icon, METH_VARARGS, doc_QWebEnginePage_icon},
    {sipName_iconUrl, meth_QWebEnginePage_iconUrl, METH_VARARGS, doc_QWebEnginePage_iconUrl},
    {sipName_inspectedPage, meth_QWebEnginePage_inspectedPage, METH_VARARGS, doc_QWebEnginePage_inspectedPage},
    {sipName_isAudioMuted, meth_QWebEnginePage_isAudioMuted, METH_VARARGS, doc_QWebEnginePage_isAudioMuted},
    {sipName_isVisible, meth_QWebEnginePage_isVisible, METH_VARARGS, doc_QWebEnginePage_isVisible},
    {sipName_javaScriptAlert, meth_QWebEnginePage_javaScriptAlert, METH_VARARGS, doc_QWebEnginePage_javaScriptAlert},
    {sipName_javaScriptConfirm, meth_QWebEnginePage_javaScriptConfirm, METH_VARARGS, doc_QWebEnginePage_javaScriptConfirm},
    {sipName_javaScriptConsoleMessage, meth_QWebEnginePage_javaScriptConsoleMessage, METH_VARARGS, doc_QWebEnginePage_javaScriptConsoleMessage},
    {sipName_javaScriptPrompt, meth_QWebEnginePage_javaScriptPrompt, METH_VARARGS, doc_QWebEnginePage_javaScriptPrompt},
    {sipName_lifecycleState, meth_QWebEnginePage_lifecycleState, METH_VARARGS, doc_QWebEnginePage_lifecycleState},
    {sipName_load, meth_QWebEnginePage_load, METH_VARARGS, doc_QWebEnginePage_load},
    {sipName_print, meth_QWebEnginePage_print, METH_VARARGS, doc_QWebEnginePage_print},
    {sipName_printToPdf, SIP_MLMETH_CAST(meth_QWebEnginePage_printToPdf), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_printToPdf},
    {sipName_profile, meth_QWebEnginePage_profile, METH_VARARGS, doc_QWebEnginePage_profile},
    {sipName_recentlyAudible, meth_QWebEnginePage_recentlyAudible, METH_VARARGS, doc_QWebEnginePage_recentlyAudible},
    {sipName_recommendedState, meth_QWebEnginePage_recommendedState, METH_VARARGS, doc_QWebEnginePage_recommendedState},
    {sipName_renderProcessPid, meth_QWebEnginePage_renderProcessPid, METH_VARARGS, doc_QWebEnginePage_renderProcessPid},
    {sipName_replaceMisspelledWord, meth_QWebEnginePage_replaceMisspelledWord, METH_VARARGS, doc_QWebEnginePage_replaceMisspelledWord},
    {sipName_requestedUrl, meth_QWebEnginePage_requestedUrl, METH_VARARGS, doc_QWebEnginePage_requestedUrl},
    {sipName_runJavaScript, meth_QWebEnginePage_runJavaScript, METH_VARARGS, doc_QWebEnginePage_runJavaScript},
    {sipName_save, SIP_MLMETH_CAST(meth_QWebEnginePage_save), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_save},
    {sipName_scripts, meth_QWebEnginePage_scripts, METH_VARARGS, doc_QWebEnginePage_scripts},
    {sipName_scrollPosition, meth_QWebEnginePage_scrollPosition, METH_VARARGS, doc_QWebEnginePage_scrollPosition},
    {sipName_selectedText, meth_QWebEnginePage_selectedText, METH_VARARGS, doc_QWebEnginePage_selectedText},
    {sipName_setAudioMuted, meth_QWebEnginePage_setAudioMuted, METH_VARARGS, doc_QWebEnginePage_setAudioMuted},
    {sipName_setBackgroundColor, meth_QWebEnginePage_setBackgroundColor, METH_VARARGS, doc_QWebEnginePage_setBackgroundColor},
    {sipName_setContent, SIP_MLMETH_CAST(meth_QWebEnginePage_setContent), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_setContent},
    {sipName_setDevToolsPage, meth_QWebEnginePage_setDevToolsPage, METH_VARARGS, doc_QWebEnginePage_setDevToolsPage},
    {sipName_setFeaturePermission, meth_QWebEnginePage_setFeaturePermission, METH_VARARGS, doc_QWebEnginePage_setFeaturePermission},
    {sipName_setHtml, SIP_MLMETH_CAST(meth_QWebEnginePage_setHtml), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_setHtml},
    {sipName_setInspectedPage, meth_QWebEnginePage_setInspectedPage, METH_VARARGS, doc_QWebEnginePage_setInspectedPage},
    {sipName_setLifecycleState, meth_QWebEnginePage_setLifecycleState, METH_VARARGS, doc_QWebEnginePage_setLifecycleState},
    {sipName_setUrl, meth_QWebEnginePage_setUrl, METH_VARARGS, doc_QWebEnginePage_setUrl},
    {sipName_setUrlRequestInterceptor, meth_QWebEnginePage_setUrlRequestInterceptor, METH_VARARGS, doc_QWebEnginePage_setUrlRequestInterceptor},
    {sipName_setView, meth_QWebEnginePage_setView, METH_VARARGS, doc_QWebEnginePage_setView},
    {sipName_setVisible, meth_QWebEnginePage_setVisible, METH_VARARGS, doc_QWebEnginePage_setVisible},
    {sipName_setWebChannel, meth_QWebEnginePage_setWebChannel, METH_VARARGS, doc_QWebEnginePage_setWebChannel},
    {sipName_setZoomFactor, meth_QWebEnginePage_setZoomFactor, METH_VARARGS, doc_QWebEnginePage_setZoomFactor},
    {sipName_settings, meth_QWebEnginePage_settings, METH_VARARGS, doc_QWebEnginePage_settings},
    {sipName_title, meth_QWebEnginePage_title, METH_VARARGS, doc_QWebEnginePage_title},
    {sipName_toHtml, meth_QWebEnginePage_toHtml, METH_VARARGS, doc_QWebEnginePage_toHtml},
    {sipName_toPlainText, meth_QWebEnginePage_toPlainText, METH_VARARGS, doc_QWebEnginePage_toPlainText},
    {sipName_triggerAction, SIP_MLMETH_CAST(meth_QWebEnginePage_triggerAction), METH_VARARGS|METH_KEYWORDS, doc_QWebEnginePage_triggerAction},
    {sipName_url, meth_QWebEnginePage_url, METH_VARARGS, doc_QWebEnginePage_url},
    {sipName_view, meth_QWebEnginePage_view, METH_VARARGS, doc_QWebEnginePage_view},
    {sipName_webChannel, meth_QWebEnginePage_webChannel, METH_VARARGS, doc_QWebEnginePage_webChannel},
    {sipName_zoomFactor, meth_QWebEnginePage_zoomFactor, METH_VARARGS, doc_QWebEnginePage_zoomFactor}
};

static sipEnumMemberDef enummembers_QWebEnginePage[] = {
    {sipName_AbnormalTerminationStatus, static_cast<int>( ::QWebEnginePage::AbnormalTerminationStatus), 28},
    {sipName_Active, static_cast<int>(::QWebEnginePage::LifecycleState::Active), 25},
    {sipName_AlignCenter, static_cast<int>( ::QWebEnginePage::AlignCenter), 29},
    {sipName_AlignJustified, static_cast<int>( ::QWebEnginePage::AlignJustified), 29},
    {sipName_AlignLeft, static_cast<int>( ::QWebEnginePage::AlignLeft), 29},
    {sipName_AlignRight, static_cast<int>( ::QWebEnginePage::AlignRight), 29},
    {sipName_Back, static_cast<int>( ::QWebEnginePage::Back), 29},
    {sipName_Copy, static_cast<int>( ::QWebEnginePage::Copy), 29},
    {sipName_CopyImageToClipboard, static_cast<int>( ::QWebEnginePage::CopyImageToClipboard), 29},
    {sipName_CopyImageUrlToClipboard, static_cast<int>( ::QWebEnginePage::CopyImageUrlToClipboard), 29},
    {sipName_CopyLinkToClipboard, static_cast<int>( ::QWebEnginePage::CopyLinkToClipboard), 29},
    {sipName_CopyMediaUrlToClipboard, static_cast<int>( ::QWebEnginePage::CopyMediaUrlToClipboard), 29},
    {sipName_CrashedTerminationStatus, static_cast<int>( ::QWebEnginePage::CrashedTerminationStatus), 28},
    {sipName_Cut, static_cast<int>( ::QWebEnginePage::Cut), 29},
    {sipName_DesktopAudioVideoCapture, static_cast<int>( ::QWebEnginePage::DesktopAudioVideoCapture), 20},
    {sipName_DesktopVideoCapture, static_cast<int>( ::QWebEnginePage::DesktopVideoCapture), 20},
    {sipName_Discarded, static_cast<int>(::QWebEnginePage::LifecycleState::Discarded), 25},
    {sipName_DownloadImageToDisk, static_cast<int>( ::QWebEnginePage::DownloadImageToDisk), 29},
    {sipName_DownloadLinkToDisk, static_cast<int>( ::QWebEnginePage::DownloadLinkToDisk), 29},
    {sipName_DownloadMediaToDisk, static_cast<int>( ::QWebEnginePage::DownloadMediaToDisk), 29},
    {sipName_ErrorMessageLevel, static_cast<int>( ::QWebEnginePage::ErrorMessageLevel), 24},
    {sipName_ExitFullScreen, static_cast<int>( ::QWebEnginePage::ExitFullScreen), 29},
    {sipName_FileSelectOpen, static_cast<int>( ::QWebEnginePage::FileSelectOpen), 21},
    {sipName_FileSelectOpenMultiple, static_cast<int>( ::QWebEnginePage::FileSelectOpenMultiple), 21},
    {sipName_FindBackward, static_cast<int>( ::QWebEnginePage::FindBackward), 22},
    {sipName_FindCaseSensitively, static_cast<int>( ::QWebEnginePage::FindCaseSensitively), 22},
    {sipName_Forward, static_cast<int>( ::QWebEnginePage::Forward), 29},
    {sipName_Frozen, static_cast<int>(::QWebEnginePage::LifecycleState::Frozen), 25},
    {sipName_Geolocation, static_cast<int>( ::QWebEnginePage::Geolocation), 20},
    {sipName_Indent, static_cast<int>( ::QWebEnginePage::Indent), 29},
    {sipName_InfoMessageLevel, static_cast<int>( ::QWebEnginePage::InfoMessageLevel), 24},
    {sipName_InsertOrderedList, static_cast<int>( ::QWebEnginePage::InsertOrderedList), 29},
    {sipName_InsertUnorderedList, static_cast<int>( ::QWebEnginePage::InsertUnorderedList), 29},
    {sipName_InspectElement, static_cast<int>( ::QWebEnginePage::InspectElement), 29},
    {sipName_KilledTerminationStatus, static_cast<int>( ::QWebEnginePage::KilledTerminationStatus), 28},
    {sipName_MediaAudioCapture, static_cast<int>( ::QWebEnginePage::MediaAudioCapture), 20},
    {sipName_MediaAudioVideoCapture, static_cast<int>( ::QWebEnginePage::MediaAudioVideoCapture), 20},
    {sipName_MediaVideoCapture, static_cast<int>( ::QWebEnginePage::MediaVideoCapture), 20},
    {sipName_MouseLock, static_cast<int>( ::QWebEnginePage::MouseLock), 20},
    {sipName_NavigationTypeBackForward, static_cast<int>( ::QWebEnginePage::NavigationTypeBackForward), 26},
    {sipName_NavigationTypeFormSubmitted, static_cast<int>( ::QWebEnginePage::NavigationTypeFormSubmitted), 26},
    {sipName_NavigationTypeLinkClicked, static_cast<int>( ::QWebEnginePage::NavigationTypeLinkClicked), 26},
    {sipName_NavigationTypeOther, static_cast<int>( ::QWebEnginePage::NavigationTypeOther), 26},
    {sipName_NavigationTypeRedirect, static_cast<int>( ::QWebEnginePage::NavigationTypeRedirect), 26},
    {sipName_NavigationTypeReload, static_cast<int>( ::QWebEnginePage::NavigationTypeReload), 26},
    {sipName_NavigationTypeTyped, static_cast<int>( ::QWebEnginePage::NavigationTypeTyped), 26},
    {sipName_NoWebAction, static_cast<int>( ::QWebEnginePage::NoWebAction), 29},
    {sipName_NormalTerminationStatus, static_cast<int>( ::QWebEnginePage::NormalTerminationStatus), 28},
    {sipName_Notifications, static_cast<int>( ::QWebEnginePage::Notifications), 20},
    {sipName_OpenLinkInNewBackgroundTab, static_cast<int>( ::QWebEnginePage::OpenLinkInNewBackgroundTab), 29},
    {sipName_OpenLinkInNewTab, static_cast<int>( ::QWebEnginePage::OpenLinkInNewTab), 29},
    {sipName_OpenLinkInNewWindow, static_cast<int>( ::QWebEnginePage::OpenLinkInNewWindow), 29},
    {sipName_OpenLinkInThisWindow, static_cast<int>( ::QWebEnginePage::OpenLinkInThisWindow), 29},
    {sipName_Outdent, static_cast<int>( ::QWebEnginePage::Outdent), 29},
    {sipName_Paste, static_cast<int>( ::QWebEnginePage::Paste), 29},
    {sipName_PasteAndMatchStyle, static_cast<int>( ::QWebEnginePage::PasteAndMatchStyle), 29},
    {sipName_PermissionDeniedByUser, static_cast<int>( ::QWebEnginePage::PermissionDeniedByUser), 27},
    {sipName_PermissionGrantedByUser, static_cast<int>( ::QWebEnginePage::PermissionGrantedByUser), 27},
    {sipName_PermissionUnknown, static_cast<int>( ::QWebEnginePage::PermissionUnknown), 27},
    {sipName_Redo, static_cast<int>( ::QWebEnginePage::Redo), 29},
    {sipName_Reload, static_cast<int>( ::QWebEnginePage::Reload), 29},
    {sipName_ReloadAndBypassCache, static_cast<int>( ::QWebEnginePage::ReloadAndBypassCache), 29},
    {sipName_RequestClose, static_cast<int>( ::QWebEnginePage::RequestClose), 29},
    {sipName_SavePage, static_cast<int>( ::QWebEnginePage::SavePage), 29},
    {sipName_SelectAll, static_cast<int>( ::QWebEnginePage::SelectAll), 29},
    {sipName_Stop, static_cast<int>( ::QWebEnginePage::Stop), 29},
    {sipName_ToggleBold, static_cast<int>( ::QWebEnginePage::ToggleBold), 29},
    {sipName_ToggleItalic, static_cast<int>( ::QWebEnginePage::ToggleItalic), 29},
    {sipName_ToggleMediaControls, static_cast<int>( ::QWebEnginePage::ToggleMediaControls), 29},
    {sipName_ToggleMediaLoop, static_cast<int>( ::QWebEnginePage::ToggleMediaLoop), 29},
    {sipName_ToggleMediaMute, static_cast<int>( ::QWebEnginePage::ToggleMediaMute), 29},
    {sipName_ToggleMediaPlayPause, static_cast<int>( ::QWebEnginePage::ToggleMediaPlayPause), 29},
    {sipName_ToggleStrikethrough, static_cast<int>( ::QWebEnginePage::ToggleStrikethrough), 29},
    {sipName_ToggleUnderline, static_cast<int>( ::QWebEnginePage::ToggleUnderline), 29},
    {sipName_Undo, static_cast<int>( ::QWebEnginePage::Undo), 29},
    {sipName_Unselect, static_cast<int>( ::QWebEnginePage::Unselect), 29},
    {sipName_ViewSource, static_cast<int>( ::QWebEnginePage::ViewSource), 29},
    {sipName_WarningMessageLevel, static_cast<int>( ::QWebEnginePage::WarningMessageLevel), 24},
    {sipName_WebBrowserBackgroundTab, static_cast<int>( ::QWebEnginePage::WebBrowserBackgroundTab), 30},
    {sipName_WebBrowserTab, static_cast<int>( ::QWebEnginePage::WebBrowserTab), 30},
    {sipName_WebBrowserWindow, static_cast<int>( ::QWebEnginePage::WebBrowserWindow), 30},
    {sipName_WebDialog, static_cast<int>( ::QWebEnginePage::WebDialog), 30},
};

PyDoc_STRVAR(doc_QWebEnginePage, "\1QWebEnginePage(parent: QObject = None)\n"
"QWebEnginePage(QWebEngineProfile, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWebEnginePage[] = {
    {"renderProcessPidChanged(qint64)", "\1renderProcessPidChanged(self, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"findTextFinished(QWebEngineFindTextResult)", "\1findTextFinished(self, QWebEngineFindTextResult)", SIP_NULLPTR, SIP_NULLPTR},
    {"recommendedStateChanged(QWebEnginePage::LifecycleState)", "\1recommendedStateChanged(self, QWebEnginePage.LifecycleState)", SIP_NULLPTR, SIP_NULLPTR},
    {"lifecycleStateChanged(QWebEnginePage::LifecycleState)", "\1lifecycleStateChanged(self, QWebEnginePage.LifecycleState)", SIP_NULLPTR, SIP_NULLPTR},
    {"visibleChanged(bool)", "\1visibleChanged(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"printRequested()", "\1printRequested(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"selectClientCertificate(QWebEngineClientCertificateSelection)", "\1selectClientCertificate(self, QWebEngineClientCertificateSelection)", SIP_NULLPTR, SIP_NULLPTR},
    {"registerProtocolHandlerRequested(QWebEngineRegisterProtocolHandlerRequest)", "\1registerProtocolHandlerRequested(self, QWebEngineRegisterProtocolHandlerRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"quotaRequested(QWebEngineQuotaRequest)", "\1quotaRequested(self, QWebEngineQuotaRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"pdfPrintingFinished(QString,bool)", "\1pdfPrintingFinished(self, str, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"recentlyAudibleChanged(bool)", "\1recentlyAudibleChanged(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"audioMutedChanged(bool)", "\1audioMutedChanged(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"contentsSizeChanged(QSizeF)", "\1contentsSizeChanged(self, QSizeF)", SIP_NULLPTR, SIP_NULLPTR},
    {"scrollPositionChanged(QPointF)", "\1scrollPositionChanged(self, Union[QPointF, QPoint])", SIP_NULLPTR, SIP_NULLPTR},
    {"iconChanged(QIcon)", "\1iconChanged(self, QIcon)", SIP_NULLPTR, SIP_NULLPTR},
    {"renderProcessTerminated(RenderProcessTerminationStatus,int)|(QWebEnginePage::RenderProcessTerminationStatus,int)", "\1renderProcessTerminated(self, QWebEnginePage.RenderProcessTerminationStatus, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"fullScreenRequested(QWebEngineFullScreenRequest)", "\1fullScreenRequested(self, QWebEngineFullScreenRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"iconUrlChanged(QUrl)", "\1iconUrlChanged(self, QUrl)", SIP_NULLPTR, SIP_NULLPTR},
    {"urlChanged(QUrl)", "\1urlChanged(self, QUrl)", SIP_NULLPTR, SIP_NULLPTR},
    {"titleChanged(QString)", "\1titleChanged(self, str)", SIP_NULLPTR, SIP_NULLPTR},
    {"proxyAuthenticationRequired(QUrl,QAuthenticator*,QString)", "\1proxyAuthenticationRequired(self, QUrl, QAuthenticator, str)", SIP_NULLPTR, SIP_NULLPTR},
    {"authenticationRequired(QUrl,QAuthenticator*)", "\1authenticationRequired(self, QUrl, QAuthenticator)", SIP_NULLPTR, SIP_NULLPTR},
    {"featurePermissionRequestCanceled(QUrl,QWebEnginePage::Feature)", "\1featurePermissionRequestCanceled(self, QUrl, QWebEnginePage.Feature)", SIP_NULLPTR, SIP_NULLPTR},
    {"featurePermissionRequested(QUrl,QWebEnginePage::Feature)", "\1featurePermissionRequested(self, QUrl, QWebEnginePage.Feature)", SIP_NULLPTR, SIP_NULLPTR},
    {"windowCloseRequested()", "\1windowCloseRequested(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"geometryChangeRequested(QRect)", "\1geometryChangeRequested(self, QRect)", SIP_NULLPTR, SIP_NULLPTR},
    {"selectionChanged()", "\1selectionChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"linkHovered(QString)", "\1linkHovered(self, str)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadFinished(bool)", "\1loadFinished(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadProgress(int)", "\1loadProgress(self, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadStarted()", "\1loadStarted(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_QWebEnginePage = {
    & ::QWebEnginePage::staticMetaObject,
    0,
    signals_QWebEnginePage,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWebEngineWidgets_QWebEnginePage = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEnginePage,
        SIP_NULLPTR,
        &plugin_QWebEnginePage
    },
    {
        sipNameNr_QWebEnginePage,
        {0, 0, 1},
        62, methods_QWebEnginePage,
        82, enummembers_QWebEnginePage,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QWebEnginePage,
    -1,
    -1,
    supers_QWebEnginePage,
    SIP_NULLPTR,
    init_type_QWebEnginePage,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QWebEnginePage,
    SIP_NULLPTR,
    array_QWebEnginePage,
    SIP_NULLPTR,
    release_QWebEnginePage,
    cast_QWebEnginePage,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QWebEnginePage,
    sizeof ( ::QWebEnginePage),
};
