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

#include "sipAPIQtWebEngineCore.h"

#line 28 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/sip/QtWebEngineCore/qwebenginehttprequest.sip"
#include <qwebenginehttprequest.h>
#line 29 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"

#line 109 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 33 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 39 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"
#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 42 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"
#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 45 "/build/pyqt5-webengine/src/PyQtWebEngine-5.15.6/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHttpRequest.cpp"


PyDoc_STRVAR(doc_QWebEngineHttpRequest_postRequest, "postRequest(QUrl, Dict[str, str]) -> QWebEngineHttpRequest");

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

    {
        const  ::QUrl* a0;
        const QMap< ::QString, ::QString>* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_QUrl, &a0, sipType_QMap_0100QString_0100QString, &a1, &a1State))
        {
             ::QWebEngineHttpRequest*sipRes;

            sipRes = new  ::QWebEngineHttpRequest( ::QWebEngineHttpRequest::postRequest(*a0,*a1));
            sipReleaseType(const_cast<QMap< ::QString, ::QString> *>(a1), sipType_QMap_0100QString_0100QString, a1State);

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_postRequest, doc_QWebEngineHttpRequest_postRequest);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_swap, "swap(self, QWebEngineHttpRequest)");

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

    {
         ::QWebEngineHttpRequest* a0;
         ::QWebEngineHttpRequest *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_swap, doc_QWebEngineHttpRequest_swap);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_method, "method(self) -> QWebEngineHttpRequest.Method");

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

    {
        const  ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp))
        {
             ::QWebEngineHttpRequest::Method sipRes;

            sipRes = sipCpp->method();

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_method, doc_QWebEngineHttpRequest_method);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_setMethod, "setMethod(self, QWebEngineHttpRequest.Method)");

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

    {
         ::QWebEngineHttpRequest::Method a0;
         ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QWebEngineHttpRequest_Method, &a0))
        {
            sipCpp->setMethod(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_setMethod, doc_QWebEngineHttpRequest_setMethod);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QWebEngineHttpRequest *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_url, doc_QWebEngineHttpRequest_url);

    return SIP_NULLPTR;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_setUrl, doc_QWebEngineHttpRequest_setUrl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_postData, "postData(self) -> QByteArray");

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

    {
        const  ::QWebEngineHttpRequest *sipCpp;

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

            sipRes = new  ::QByteArray(sipCpp->postData());

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_postData, doc_QWebEngineHttpRequest_postData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_setPostData, "setPostData(self, Union[QByteArray, bytes, bytearray])");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setPostData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_setPostData, doc_QWebEngineHttpRequest_setPostData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_hasHeader, "hasHeader(self, Union[QByteArray, bytes, bytearray]) -> bool");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->hasHeader(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_hasHeader, doc_QWebEngineHttpRequest_hasHeader);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_headers, "headers(self) -> List[QByteArray]");

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

    {
        const  ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp))
        {
            QVector< ::QByteArray>*sipRes;

            sipRes = new QVector< ::QByteArray>(sipCpp->headers());

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_headers, doc_QWebEngineHttpRequest_headers);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_header, "header(self, Union[QByteArray, bytes, bytearray]) -> QByteArray");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->header(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

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

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_header, doc_QWebEngineHttpRequest_header);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_setHeader, "setHeader(self, Union[QByteArray, bytes, bytearray], Union[QByteArray, bytes, bytearray])");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            sipCpp->setHeader(*a0,*a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1), sipType_QByteArray, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_setHeader, doc_QWebEngineHttpRequest_setHeader);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHttpRequest_unsetHeader, "unsetHeader(self, Union[QByteArray, bytes, bytearray])");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QWebEngineHttpRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebEngineHttpRequest, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->unsetHeader(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHttpRequest, sipName_unsetHeader, doc_QWebEngineHttpRequest_unsetHeader);

    return SIP_NULLPTR;
}


extern "C" {static PyObject *slot_QWebEngineHttpRequest___ne__(PyObject *,PyObject *);}
static PyObject *slot_QWebEngineHttpRequest___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebEngineHttpRequest *sipCpp = reinterpret_cast< ::QWebEngineHttpRequest *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebEngineHttpRequest));

    if (!sipCpp)
        return SIP_NULLPTR;

    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEngineHttpRequest* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebEngineHttpRequest, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebEngineHttpRequest::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return SIP_NULLPTR;

    return sipPySlotExtend(&sipModuleAPI_QtWebEngineCore, ne_slot, sipType_QWebEngineHttpRequest, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QWebEngineHttpRequest___eq__(PyObject *,PyObject *);}
static PyObject *slot_QWebEngineHttpRequest___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebEngineHttpRequest *sipCpp = reinterpret_cast< ::QWebEngineHttpRequest *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebEngineHttpRequest));

    if (!sipCpp)
        return SIP_NULLPTR;

    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QWebEngineHttpRequest* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebEngineHttpRequest, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebEngineHttpRequest::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return SIP_NULLPTR;

    return sipPySlotExtend(&sipModuleAPI_QtWebEngineCore, eq_slot, sipType_QWebEngineHttpRequest, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebEngineHttpRequest(void *, int);}
static void release_QWebEngineHttpRequest(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebEngineHttpRequest *>(sipCppV);
}


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


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


extern "C" {static void assign_QWebEngineHttpRequest(void *, Py_ssize_t, void *);}
static void assign_QWebEngineHttpRequest(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QWebEngineHttpRequest *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QWebEngineHttpRequest *>(sipSrc);
}


extern "C" {static void *copy_QWebEngineHttpRequest(const void *, Py_ssize_t);}
static void *copy_QWebEngineHttpRequest(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
    return new  ::QWebEngineHttpRequest(reinterpret_cast<const  ::QWebEngineHttpRequest *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebEngineHttpRequest(sipSimpleWrapper *);}
static void dealloc_QWebEngineHttpRequest(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebEngineHttpRequest(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebEngineHttpRequest(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebEngineHttpRequest(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebEngineHttpRequest *sipCpp = SIP_NULLPTR;

    {
        const  ::QUrl& a0def = QUrl();
        const  ::QUrl* a0 = &a0def;
         ::QWebEngineHttpRequest::Method a1 = QWebEngineHttpRequest::Method::Get;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9E", sipType_QUrl, &a0, sipType_QWebEngineHttpRequest_Method, &a1))
        {
            sipCpp = new  ::QWebEngineHttpRequest(*a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QWebEngineHttpRequest* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_QWebEngineHttpRequest, &a0))
        {
            sipCpp = new  ::QWebEngineHttpRequest(*a0);

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebEngineHttpRequest[] = {
    {(void *)slot_QWebEngineHttpRequest___ne__, ne_slot},
    {(void *)slot_QWebEngineHttpRequest___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QWebEngineHttpRequest[] = {
    {sipName_hasHeader, meth_QWebEngineHttpRequest_hasHeader, METH_VARARGS, doc_QWebEngineHttpRequest_hasHeader},
    {sipName_header, meth_QWebEngineHttpRequest_header, METH_VARARGS, doc_QWebEngineHttpRequest_header},
    {sipName_headers, meth_QWebEngineHttpRequest_headers, METH_VARARGS, doc_QWebEngineHttpRequest_headers},
    {sipName_method, meth_QWebEngineHttpRequest_method, METH_VARARGS, doc_QWebEngineHttpRequest_method},
    {sipName_postData, meth_QWebEngineHttpRequest_postData, METH_VARARGS, doc_QWebEngineHttpRequest_postData},
    {sipName_postRequest, meth_QWebEngineHttpRequest_postRequest, METH_VARARGS, doc_QWebEngineHttpRequest_postRequest},
    {sipName_setHeader, meth_QWebEngineHttpRequest_setHeader, METH_VARARGS, doc_QWebEngineHttpRequest_setHeader},
    {sipName_setMethod, meth_QWebEngineHttpRequest_setMethod, METH_VARARGS, doc_QWebEngineHttpRequest_setMethod},
    {sipName_setPostData, meth_QWebEngineHttpRequest_setPostData, METH_VARARGS, doc_QWebEngineHttpRequest_setPostData},
    {sipName_setUrl, meth_QWebEngineHttpRequest_setUrl, METH_VARARGS, doc_QWebEngineHttpRequest_setUrl},
    {sipName_swap, meth_QWebEngineHttpRequest_swap, METH_VARARGS, doc_QWebEngineHttpRequest_swap},
    {sipName_unsetHeader, meth_QWebEngineHttpRequest_unsetHeader, METH_VARARGS, doc_QWebEngineHttpRequest_unsetHeader},
    {sipName_url, meth_QWebEngineHttpRequest_url, METH_VARARGS, doc_QWebEngineHttpRequest_url}
};

static sipEnumMemberDef enummembers_QWebEngineHttpRequest[] = {
    {sipName_Get, static_cast<int>( ::QWebEngineHttpRequest::Get), 9},
    {sipName_Post, static_cast<int>( ::QWebEngineHttpRequest::Post), 9},
};

PyDoc_STRVAR(doc_QWebEngineHttpRequest, "\1QWebEngineHttpRequest(url: QUrl = QUrl(), method: QWebEngineHttpRequest.Method = QWebEngineHttpRequest.Method.Get)\n"
"QWebEngineHttpRequest(QWebEngineHttpRequest)");


static pyqt5ClassPluginDef plugin_QWebEngineHttpRequest = {
    SIP_NULLPTR,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEngineHttpRequest = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEngineHttpRequest,
        SIP_NULLPTR,
        &plugin_QWebEngineHttpRequest
    },
    {
        sipNameNr_QWebEngineHttpRequest,
        {0, 0, 1},
        13, methods_QWebEngineHttpRequest,
        2, enummembers_QWebEngineHttpRequest,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QWebEngineHttpRequest,
    -1,
    sipNameNr_sip_simplewrapper,
    SIP_NULLPTR,
    slots_QWebEngineHttpRequest,
    init_type_QWebEngineHttpRequest,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QWebEngineHttpRequest,
    assign_QWebEngineHttpRequest,
    array_QWebEngineHttpRequest,
    copy_QWebEngineHttpRequest,
    release_QWebEngineHttpRequest,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QWebEngineHttpRequest,
    sizeof ( ::QWebEngineHttpRequest),
};
