/*
 * 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/qwebenginefullscreenrequest.sip"
#include <qwebenginefullscreenrequest.h>
#line 29 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineFullScreenRequest.cpp"

#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 33 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineFullScreenRequest.cpp"


PyDoc_STRVAR(doc_QWebEngineFullScreenRequest_reject, "reject(self)");

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

    {
        ::QWebEngineFullScreenRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineFullScreenRequest, &sipCpp))
        {
            sipCpp->reject();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineFullScreenRequest, sipName_reject, doc_QWebEngineFullScreenRequest_reject);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineFullScreenRequest_accept, "accept(self)");

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

    {
        ::QWebEngineFullScreenRequest *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineFullScreenRequest, &sipCpp))
        {
            sipCpp->accept();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineFullScreenRequest, sipName_accept, doc_QWebEngineFullScreenRequest_accept);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineFullScreenRequest_toggleOn, "toggleOn(self) -> bool");

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

    {
        const ::QWebEngineFullScreenRequest *sipCpp;

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

            sipRes = sipCpp->toggleOn();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineFullScreenRequest, sipName_toggleOn, doc_QWebEngineFullScreenRequest_toggleOn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineFullScreenRequest_origin, "origin(self) -> QUrl");

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

    {
        const ::QWebEngineFullScreenRequest *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineFullScreenRequest, sipName_origin, doc_QWebEngineFullScreenRequest_origin);

    return SIP_NULLPTR;
}


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


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


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


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


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


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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            sipCpp = new ::QWebEngineFullScreenRequest();

            return sipCpp;
        }
    }

    {
        const ::QWebEngineFullScreenRequest* a0;

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

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


static PyMethodDef methods_QWebEngineFullScreenRequest[] = {
    {sipName_accept, meth_QWebEngineFullScreenRequest_accept, METH_VARARGS, doc_QWebEngineFullScreenRequest_accept},
    {sipName_origin, meth_QWebEngineFullScreenRequest_origin, METH_VARARGS, doc_QWebEngineFullScreenRequest_origin},
    {sipName_reject, meth_QWebEngineFullScreenRequest_reject, METH_VARARGS, doc_QWebEngineFullScreenRequest_reject},
    {sipName_toggleOn, meth_QWebEngineFullScreenRequest_toggleOn, METH_VARARGS, doc_QWebEngineFullScreenRequest_toggleOn}
};

PyDoc_STRVAR(doc_QWebEngineFullScreenRequest, "\1QWebEngineFullScreenRequest()\n"
"QWebEngineFullScreenRequest(other: QWebEngineFullScreenRequest)");


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEngineFullScreenRequest = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEngineFullScreenRequest,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_QWebEngineFullScreenRequest,
        {0, 0, 1},
        4, methods_QWebEngineFullScreenRequest,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QWebEngineFullScreenRequest,
    -1,
    sipNameNr_PyQt6_sip_simplewrapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    init_type_QWebEngineFullScreenRequest,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QWebEngineFullScreenRequest,
    assign_QWebEngineFullScreenRequest,
    array_QWebEngineFullScreenRequest,
    copy_QWebEngineFullScreenRequest,
    release_QWebEngineFullScreenRequest,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QWebEngineFullScreenRequest,
    sizeof (::QWebEngineFullScreenRequest),
};
