/*
 * 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/qwebenginenotification.sip"
#include <qwebenginenotification.h>
#line 29 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.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 35 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 38 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 33 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qimage.sip"
#include <qimage.h>
#line 41 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 44 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.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 49 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 55 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 64 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 67 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 70 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 73 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 76 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 79 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 82 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 85 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 88 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 91 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineNotification.cpp"


PyDoc_STRVAR(doc_QWebEngineNotification_matches, "matches(self, other: QWebEngineNotification|None) -> bool");

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

    {
        const ::QWebEngineNotification* a0;
        const ::QWebEngineNotification *sipCpp;

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

            sipRes = sipCpp->matches(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_matches, doc_QWebEngineNotification_matches);

    return SIP_NULLPTR;
}


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

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_origin, doc_QWebEngineNotification_origin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_icon, "icon(self) -> QImage");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_icon, doc_QWebEngineNotification_icon);

    return SIP_NULLPTR;
}


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

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_title, doc_QWebEngineNotification_title);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_message, "message(self) -> str");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_message, doc_QWebEngineNotification_message);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_tag, "tag(self) -> str");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_tag, doc_QWebEngineNotification_tag);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_language, "language(self) -> str");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_language, doc_QWebEngineNotification_language);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_direction, "direction(self) -> Qt.LayoutDirection");

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

    {
        const ::QWebEngineNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineNotification, &sipCpp))
        {
            ::Qt::LayoutDirection sipRes;

            sipRes = sipCpp->direction();

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

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_direction, doc_QWebEngineNotification_direction);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_show, "show(self)");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_show, doc_QWebEngineNotification_show);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_click, "click(self)");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_click, doc_QWebEngineNotification_click);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineNotification_close, "close(self)");

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

    {
        const ::QWebEngineNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineNotification, sipName_close, doc_QWebEngineNotification_close);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QWebEngineNotification)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


static PyMethodDef methods_QWebEngineNotification[] = {
    {sipName_click, meth_QWebEngineNotification_click, METH_VARARGS, doc_QWebEngineNotification_click},
    {sipName_close, meth_QWebEngineNotification_close, METH_VARARGS, doc_QWebEngineNotification_close},
    {sipName_direction, meth_QWebEngineNotification_direction, METH_VARARGS, doc_QWebEngineNotification_direction},
    {sipName_icon, meth_QWebEngineNotification_icon, METH_VARARGS, doc_QWebEngineNotification_icon},
    {sipName_language, meth_QWebEngineNotification_language, METH_VARARGS, doc_QWebEngineNotification_language},
    {sipName_matches, meth_QWebEngineNotification_matches, METH_VARARGS, doc_QWebEngineNotification_matches},
    {sipName_message, meth_QWebEngineNotification_message, METH_VARARGS, doc_QWebEngineNotification_message},
    {sipName_origin, meth_QWebEngineNotification_origin, METH_VARARGS, doc_QWebEngineNotification_origin},
    {sipName_show, meth_QWebEngineNotification_show, METH_VARARGS, doc_QWebEngineNotification_show},
    {sipName_tag, meth_QWebEngineNotification_tag, METH_VARARGS, doc_QWebEngineNotification_tag},
    {sipName_title, meth_QWebEngineNotification_title, METH_VARARGS, doc_QWebEngineNotification_title}
};


/* Define this type's signals. */
static const pyqt6QtSignal signals_QWebEngineNotification[] = {
    {"closed()", "\1closed(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QWebEngineNotification = {
    &::QWebEngineNotification::staticMetaObject,
    signals_QWebEngineNotification,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEngineNotification = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEngineNotification,
        SIP_NULLPTR,
        &plugin_QWebEngineNotification,
    },
    {
        sipNameNr_QWebEngineNotification,
        {0, 0, 1},
        11, methods_QWebEngineNotification,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QWebEngineNotification,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QWebEngineNotification,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QWebEngineNotification,
    cast_QWebEngineNotification,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    0,
};
