/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.3
 *
 * Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6-WebEngine.
 * 
 * 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 "sipAPIQtWebEngineCore.h"

#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginepage.sip"
#include <qwebenginepage.h>
#line 29 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"

#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineprofile.sip"
#include <qwebengineprofile.h>
#line 33 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 36 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineframe.sip"
#include <qwebengineframe.h>
#line 39 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginepermission.sip"
#include <qwebenginepermission.h>
#line 42 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 27 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_std_optional.sip"
#include <optional>
#line 45 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 48 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip"
#include <qwebenginewebauthuxrequest.h>
#line 51 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginedesktopmediarequest.sip"
#include <qwebenginedesktopmediarequest.h>
#line 54 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 57 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginefilesystemaccessrequest.sip"
#include <qwebenginefilesystemaccessrequest.h>
#line 60 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginenewwindowrequest.sip"
#include <qwebenginenewwindowrequest.h>
#line 63 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginenavigationrequest.sip"
#include <qwebenginenavigationrequest.h>
#line 66 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginecertificateerror.sip"
#include <qwebenginecertificateerror.h>
#line 69 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineloadinginfo.sip"
#include <qwebengineloadinginfo.h>
#line 72 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qpagelayout.sip"
#include <qpagelayout.h>
#line 75 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qpageranges.sip"
#include <qpageranges.h>
#line 78 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtWebChannel/qwebchannel.sip"
#include <qwebchannel.h>
#line 81 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 84 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginefindtextresult.sip"
#include <qwebenginefindtextresult.h>
#line 87 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip"
#include <qwebengineurlrequestinterceptor.h>
#line 90 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineclientcertificateselection.sip"
#include <qwebengineclientcertificateselection.h>
#line 93 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip"
#include <qwebengineregisterprotocolhandlerrequest.h>
#line 96 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginequotarequest.sip"
#include <qwebenginequotarequest.h>
#line 99 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 102 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginedownloadrequest.sip"
#include <qwebenginedownloadrequest.h>
#line 105 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 114 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qsize.sip"
#include <qsize.h>
#line 108 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 110 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 111 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qicon.sip"
#include <qicon.h>
#line 114 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginefullscreenrequest.sip"
#include <qwebenginefullscreenrequest.h>
#line 117 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 120 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginescriptcollection.sip"
#include <qwebenginescriptcollection.h>
#line 123 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 126 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtNetwork/qauthenticator.sip"
#include <qauthenticator.h>
#line 129 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qrect.sip"
#include <qrect.h>
#line 132 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginesettings.sip"
#include <qwebenginesettings.h>
#line 135 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 138 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginehttprequest.sip"
#include <qwebenginehttprequest.h>
#line 141 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 144 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qaction.sip"
#include <qaction.h>
#line 147 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 71 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginehistory.sip"
#include <qwebenginehistory.h>
#line 150 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 155 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 158 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 161 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 164 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 167 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 178 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 181 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 184 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 187 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 190 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"


class sipQWebEnginePage : public ::QWebEnginePage
{
public:
    sipQWebEnginePage(::QWebEngineProfile*, ::QObject*);
    sipQWebEnginePage(::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;
    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[15];
};

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

sipQWebEnginePage::sipQWebEnginePage(::QObject*a0): ::QWebEnginePage(a0), 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_QtWebEngineCore_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_QtWebEngineCore_qt_metacall(sipPySelf, sipType_QWebEnginePage, _c, _id, _a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

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

    return (sip_QtWebEngineCore_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_QtWebEngineCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QUrl&, ::QWebEnginePage::NavigationType, bool);

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

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

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

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

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

    sipVH_QtWebEngineCore_37(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[2], &sipPySelf, SIP_NULLPTR, sipName_javaScriptPrompt);

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

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

    return sipVH_QtWebEngineCore_36(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[3], &sipPySelf, SIP_NULLPTR, sipName_javaScriptConfirm);

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

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

    return sipVH_QtWebEngineCore_35(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[4], &sipPySelf, SIP_NULLPTR, sipName_javaScriptAlert);

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

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

    sipVH_QtWebEngineCore_34(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[5], &sipPySelf, SIP_NULLPTR, sipName_chooseFiles);

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

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

    return sipVH_QtWebEngineCore_33(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[6], &sipPySelf, SIP_NULLPTR, sipName_createWindow);

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

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

    return sipVH_QtWebEngineCore_32(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_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[7], &sipPySelf, SIP_NULLPTR, sipName_triggerAction);

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

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

    sipVH_QtWebEngineCore_31(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return sipVH_QtWebEngineCore_5(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWebEngineCore_3(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebEngineCore_2(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebEngineCore_1(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebEngineCore_0(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebEngineCore_0(sipGILState, sipImportedVirtErrorHandlers_QtWebEngineCore_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


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

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_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, action: QWebEnginePage.WebAction) -> QAction|None");

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, action: 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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, a0: QEvent|None) -> 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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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_setFeaturePermission, "setFeaturePermission(self, securityOrigin: QUrl, feature: QWebEnginePage.Feature, policy: 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, url: QUrl)\n"
"load(self, request: 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, html: str|None, 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, data: QByteArray|bytes|bytearray|memoryview, mimeType: str|None = '', 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_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, url: 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, factor: 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_settings, "settings(self) -> QWebEngineSettings|None");

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, type: QWebEnginePage.WebWindowType) -> QWebEnginePage|None");

extern "C" {static PyObject *meth_QWebEnginePage_createWindow(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_createWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, mode: QWebEnginePage.FileSelectionMode, oldFiles: Iterable[str|None], acceptedMimeTypes: Iterable[str|None]) -> 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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, securityOrigin: QUrl, msg: str|None)");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptAlert(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptAlert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, securityOrigin: QUrl, msg: str|None) -> 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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, securityOrigin: QUrl, msg: str|None, defaultValue: str|None) -> (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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, level: QWebEnginePage.JavaScriptConsoleMessageLevel, message: str|None, lineNumber: int, sourceID: str|None)");

extern "C" {static PyObject *meth_QWebEnginePage_javaScriptConsoleMessage(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_javaScriptConsoleMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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_profile, "profile(self) -> QWebEngineProfile|None");

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|None");

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_acceptNavigationRequest, "acceptNavigationRequest(self, url: QUrl, type: QWebEnginePage.NavigationType, isMainFrame: 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 = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage)) || 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, color: QColor|Qt.GlobalColor|int)");

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, muted: 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_replaceMisspelledWord, "replaceMisspelledWord(self, replacement: str|None)");

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, filePath: str|None, format: QWebEngineDownloadRequest.SavePageFormat = QWebEngineDownloadRequest.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;
        ::QWebEngineDownloadRequest::SavePageFormat a1 = QWebEngineDownloadRequest::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_QWebEngineDownloadRequest_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_download, "download(self, url: QUrl, filename: str|None = '')");

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, page: QWebEnginePage|None)");

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|None");

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, page: QWebEnginePage|None)");

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|None");

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, interceptor: QWebEngineUrlRequestInterceptor|None)");

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, state: 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, visible: 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;
}


PyDoc_STRVAR(doc_QWebEnginePage_findText, "findText(self, subString: str|None, options: QWebEnginePage.FindFlag = {}, resultCallback: Callable[[bool], None] = None)");

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* 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_QFlags_0100QWebEnginePage_FindFlag, &a1, &a1State, &a2))
        {
#line 292 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/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](const QWebEngineFindTextResult &arg) {
            if (a2)
            {
                SIP_BLOCK_THREADS
                
                PyObject *res;
        
                res = sipCallMethod(NULL, a2, "N", new QWebEngineFindTextResult(arg), sipType_QWebEngineFindTextResult, NULL);
        
                Py_DECREF(a2);
        
                if (!res)
                    pyqt6_qtwebenginecore_err_print();
                else
                    Py_DECREF(res);
        
                SIP_UNBLOCK_THREADS
            }
        });
        
        Py_END_ALLOW_THREADS
#line 1993 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(a1, sipType_QFlags_0100QWebEnginePage_FindFlag, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_findText, doc_QWebEnginePage_findText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_isLoading, "isLoading(self) -> bool");

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

    {
        const ::QWebEnginePage *sipCpp;

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

            sipRes = sipCpp->isLoading();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_isLoading, doc_QWebEnginePage_isLoading);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_toHtml, "toHtml(self, resultCallback: Callable[[str|None], 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 323 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/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)
                pyqt6_qtwebenginecore_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 2071 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.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, resultCallback: Callable[[str|None], 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 350 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/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)
                pyqt6_qtwebenginecore_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 2121 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_toPlainText, doc_QWebEnginePage_toPlainText);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_runJavaScript, "runJavaScript(self, scriptSource: str|None, worldId: int = 0, resultCallback: Callable[[Any], None] = None)\n"
"runJavaScript(self, scriptSource: str|None, resultCallback: Callable[[Any], None])");

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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|uH", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, &a1, &a2))
        {
#line 377 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginepage.sip"
        // Make sure the callable doesn't get garbage collected until it is invoked.
        Py_XINCREF(a2);
        
        Py_BEGIN_ALLOW_THREADS
        
        sipCpp->runJavaScript(*a0, a1, [a2](const QVariant &arg) {
            if (a2)
            {
                SIP_BLOCK_THREADS
        
                PyObject *res;
        
                res = sipCallMethod(NULL, a2, "N", new QVariant(arg), sipType_QVariant, NULL);
        
                Py_DECREF(a2);
        
                if (!res)
                    pyqt6_qtwebenginecore_err_print();
                else
                    Py_DECREF(res);
        
                SIP_UNBLOCK_THREADS
            }
        });
        
        Py_END_ALLOW_THREADS
#line 2184 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"
            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 (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "BJ1F", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
#line 407 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/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)
                pyqt6_qtwebenginecore_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        });
        
        Py_END_ALLOW_THREADS
#line 2224 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.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_setWebChannel, "setWebChannel(self, a0: QWebChannel|None, worldId: int = 0)");

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

    {
        ::QWebChannel* a0;
        ::quint32 a1 = 0;
        ::QWebEnginePage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|u", &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_printToPdf, "printToPdf(self, filePath: str|None, pageLayout: QPageLayout = QPageLayout(QPageSize(QPageSize.A4), QPageLayout.Portrait, QMarginsF()), ranges: QPageRanges = {})\n"
"printToPdf(self, resultCallback: Callable[[QByteArray|bytes|bytearray|memoryview], None], pageLayout: QPageLayout = QPageLayout(QPageSize(QPageSize.A4), QPageLayout.Portrait, QMarginsF()), ranges: QPageRanges = {})");

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::A4), QPageLayout::Portrait, QMarginsF());
        const ::QPageLayout* a1 = &a1def;
        const ::QPageRanges& a2def = {};
        const ::QPageRanges* a2 = &a2def;
        ::QWebEnginePage *sipCpp;

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        const ::QPageLayout& a1def = QPageLayout(QPageSize(QPageSize::A4), QPageLayout::Portrait, QMarginsF());
        const ::QPageLayout* a1 = &a1def;
        const ::QPageRanges& a2def = {};
        const ::QPageRanges* a2 = &a2def;
        ::QWebEnginePage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BF|J9J9", &sipSelf, sipType_QWebEnginePage, &sipCpp, &a0, sipType_QPageLayout, &a1, sipType_QPageRanges, &a2))
        {
#line 438 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/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)
                pyqt6_qtwebenginecore_err_print();
            else
                Py_DECREF(res);
        
            SIP_UNBLOCK_THREADS
        }, *a1, *a2);
        
        Py_END_ALLOW_THREADS
#line 2343 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEnginePage.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_printToPdf, doc_QWebEnginePage_printToPdf);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_devToolsId, "devToolsId(self) -> str");

extern "C" {static PyObject *meth_QWebEnginePage_devToolsId(PyObject *, PyObject *);}
static PyObject *meth_QWebEnginePage_devToolsId(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->devToolsId());

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

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_devToolsId, doc_QWebEnginePage_devToolsId);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_mainFrame, "mainFrame(self) -> QWebEngineFrame");

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

    {
        ::QWebEnginePage *sipCpp;

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

            sipRes = new ::QWebEngineFrame(sipCpp->mainFrame());

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

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_mainFrame, doc_QWebEnginePage_mainFrame);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEnginePage_findFrameByName, "findFrameByName(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> QWebEngineFrame|None");

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

    {
        ::QAnyStringView* a0;
        int a0State = 0;
        void *a0UserState = SIP_NULLPTR;
        ::QWebEnginePage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEnginePage, &sipCpp, sipType_QAnyStringView, &a0, &a0State, &a0UserState))
        {
            std::optional< ::QWebEngineFrame>*sipRes;

            sipRes = new std::optional< ::QWebEngineFrame>(sipCpp->findFrameByName(*a0));
            sipReleaseTypeUS(a0, sipType_QAnyStringView, a0State, a0UserState);

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

    sipNoMethod(sipParseErr, sipName_QWebEnginePage, sipName_findFrameByName, doc_QWebEnginePage_findFrameByName);

    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;

    {
        ::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;
        }
    }

    {
        ::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;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWebEnginePage[] = {{22, 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_chooseFiles, meth_QWebEnginePage_chooseFiles, METH_VARARGS, doc_QWebEnginePage_chooseFiles},
    {sipName_contentsSize, meth_QWebEnginePage_contentsSize, METH_VARARGS, doc_QWebEnginePage_contentsSize},
    {sipName_createWindow, meth_QWebEnginePage_createWindow, METH_VARARGS, doc_QWebEnginePage_createWindow},
    {sipName_devToolsId, meth_QWebEnginePage_devToolsId, METH_VARARGS, doc_QWebEnginePage_devToolsId},
    {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_findFrameByName, meth_QWebEnginePage_findFrameByName, METH_VARARGS, doc_QWebEnginePage_findFrameByName},
    {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_isLoading, meth_QWebEnginePage_isLoading, METH_VARARGS, doc_QWebEnginePage_isLoading},
    {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_mainFrame, meth_QWebEnginePage_mainFrame, METH_VARARGS, doc_QWebEnginePage_mainFrame},
    {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, SIP_MLMETH_CAST(meth_QWebEnginePage_runJavaScript), METH_VARARGS|METH_KEYWORDS, 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_setVisible, meth_QWebEnginePage_setVisible, METH_VARARGS, doc_QWebEnginePage_setVisible},
    {sipName_setWebChannel, SIP_MLMETH_CAST(meth_QWebEnginePage_setWebChannel), METH_VARARGS|METH_KEYWORDS, 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_webChannel, meth_QWebEnginePage_webChannel, METH_VARARGS, doc_QWebEnginePage_webChannel},
    {sipName_zoomFactor, meth_QWebEnginePage_zoomFactor, METH_VARARGS, doc_QWebEnginePage_zoomFactor}
};


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

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


/* Define this type's signals. */
static const pyqt6QtSignal signals_QWebEnginePage[] = {
    {"printRequestedByFrame(QWebEngineFrame)", "\1printRequestedByFrame(self, frame: QWebEngineFrame)", SIP_NULLPTR, SIP_NULLPTR},
    {"zoomFactorChanged(qreal)", "\1zoomFactorChanged(self, factor: float)", SIP_NULLPTR, SIP_NULLPTR},
    {"permissionRequested(QWebEnginePermission)", "\1permissionRequested(self, permissionRequest: QWebEnginePermission)", SIP_NULLPTR, SIP_NULLPTR},
    {"webAuthUxRequested(QWebEngineWebAuthUxRequest*)", "\1webAuthUxRequested(self, request: QWebEngineWebAuthUxRequest|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"desktopMediaRequested(QWebEngineDesktopMediaRequest)", "\1desktopMediaRequested(self, request: QWebEngineDesktopMediaRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"fileSystemAccessRequested(QWebEngineFileSystemAccessRequest)", "\1fileSystemAccessRequested(self, request: QWebEngineFileSystemAccessRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"newWindowRequested(QWebEngineNewWindowRequest&)", "\1newWindowRequested(self, request: QWebEngineNewWindowRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"navigationRequested(QWebEngineNavigationRequest&)", "\1navigationRequested(self, request: QWebEngineNavigationRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"certificateError(QWebEngineCertificateError)", "\1certificateError(self, certificateError: QWebEngineCertificateError)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadingChanged(QWebEngineLoadingInfo)", "\1loadingChanged(self, loadingInfo: QWebEngineLoadingInfo)", SIP_NULLPTR, SIP_NULLPTR},
    {"renderProcessPidChanged(qint64)", "\1renderProcessPidChanged(self, pid: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"findTextFinished(QWebEngineFindTextResult)", "\1findTextFinished(self, result: QWebEngineFindTextResult)", SIP_NULLPTR, SIP_NULLPTR},
    {"recommendedStateChanged(QWebEnginePage::LifecycleState)", "\1recommendedStateChanged(self, state: QWebEnginePage.LifecycleState)", SIP_NULLPTR, SIP_NULLPTR},
    {"lifecycleStateChanged(QWebEnginePage::LifecycleState)", "\1lifecycleStateChanged(self, state: QWebEnginePage.LifecycleState)", SIP_NULLPTR, SIP_NULLPTR},
    {"visibleChanged(bool)", "\1visibleChanged(self, visible: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"printRequested()", "\1printRequested(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"selectClientCertificate(QWebEngineClientCertificateSelection)", "\1selectClientCertificate(self, clientCertSelection: QWebEngineClientCertificateSelection)", SIP_NULLPTR, SIP_NULLPTR},
    {"registerProtocolHandlerRequested(QWebEngineRegisterProtocolHandlerRequest)", "\1registerProtocolHandlerRequested(self, request: QWebEngineRegisterProtocolHandlerRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"quotaRequested(QWebEngineQuotaRequest)", "\1quotaRequested(self, quotaRequest: QWebEngineQuotaRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"pdfPrintingFinished(QString,bool)", "\1pdfPrintingFinished(self, filePath: str|None, success: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"recentlyAudibleChanged(bool)", "\1recentlyAudibleChanged(self, recentlyAudible: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"audioMutedChanged(bool)", "\1audioMutedChanged(self, muted: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"contentsSizeChanged(QSizeF)", "\1contentsSizeChanged(self, size: QSizeF)", SIP_NULLPTR, SIP_NULLPTR},
    {"scrollPositionChanged(QPointF)", "\1scrollPositionChanged(self, position: QPointF)", SIP_NULLPTR, SIP_NULLPTR},
    {"iconChanged(QIcon)", "\1iconChanged(self, icon: QIcon)", SIP_NULLPTR, SIP_NULLPTR},
    {"renderProcessTerminated(RenderProcessTerminationStatus,int)|(QWebEnginePage::RenderProcessTerminationStatus,int)", "\1renderProcessTerminated(self, terminationStatus: QWebEnginePage.RenderProcessTerminationStatus, exitCode: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"fullScreenRequested(QWebEngineFullScreenRequest)", "\1fullScreenRequested(self, fullScreenRequest: QWebEngineFullScreenRequest)", SIP_NULLPTR, SIP_NULLPTR},
    {"iconUrlChanged(QUrl)", "\1iconUrlChanged(self, url: QUrl)", SIP_NULLPTR, SIP_NULLPTR},
    {"urlChanged(QUrl)", "\1urlChanged(self, url: QUrl)", SIP_NULLPTR, SIP_NULLPTR},
    {"titleChanged(QString)", "\1titleChanged(self, title: str|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"proxyAuthenticationRequired(QUrl,QAuthenticator*,QString)", "\1proxyAuthenticationRequired(self, requestUrl: QUrl, authenticator: QAuthenticator|None, proxyHost: str|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"authenticationRequired(QUrl,QAuthenticator*)", "\1authenticationRequired(self, requestUrl: QUrl, authenticator: QAuthenticator|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"featurePermissionRequestCanceled(QUrl,QWebEnginePage::Feature)", "\1featurePermissionRequestCanceled(self, securityOrigin: QUrl, feature: QWebEnginePage.Feature)", SIP_NULLPTR, SIP_NULLPTR},
    {"featurePermissionRequested(QUrl,QWebEnginePage::Feature)", "\1featurePermissionRequested(self, securityOrigin: QUrl, feature: QWebEnginePage.Feature)", SIP_NULLPTR, SIP_NULLPTR},
    {"windowCloseRequested()", "\1windowCloseRequested(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"geometryChangeRequested(QRect)", "\1geometryChangeRequested(self, geom: QRect)", SIP_NULLPTR, SIP_NULLPTR},
    {"selectionChanged()", "\1selectionChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"linkHovered(QString)", "\1linkHovered(self, url: str|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadFinished(bool)", "\1loadFinished(self, ok: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadProgress(int)", "\1loadProgress(self, progress: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"loadStarted()", "\1loadStarted(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


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


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEnginePage = {
    {
        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},
        60, methods_QWebEnginePage,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QWebEnginePage, 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),
};
