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

#line 28 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qcustomseries.sip"
#include <qcustomseries.h>
#line 29 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"

#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtQuick/qquickitem.sip"
#include <qquickitem.h>
#line 39 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 27 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 42 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 45 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 48 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtQml/qqmlcomponent.sip"
#include <qqmlcomponent.h>
#line 51 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 37 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 54 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 57 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 110 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 60 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 63 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 66 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.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 71 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 74 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 86 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.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 94 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 97 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 100 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 103 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 106 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 109 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQCustomSeries.cpp"


class sipQCustomSeries : public ::QCustomSeries
{
public:
    sipQCustomSeries(::QObject*);
    virtual ~sipQCustomSeries();

    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:
    void updateDelegate(::QQuickItem*, ::qsizetype) SIP_OVERRIDE;
    void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent(::QEvent*) SIP_OVERRIDE;
    void childEvent(::QChildEvent*) SIP_OVERRIDE;
    void timerEvent(::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter(::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event(::QEvent*) SIP_OVERRIDE;
    void componentComplete() SIP_OVERRIDE;
    void classBegin() SIP_OVERRIDE;
    ::QAbstractSeries::SeriesType type() const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

const QMetaObject *sipQCustomSeries::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtGraphs_qt_metaobject(sipPySelf, sipType_QCustomSeries);

    return ::QCustomSeries::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtGraphs_qt_metacast(sipPySelf, sipType_QCustomSeries, _clname, &sipCpp) ? sipCpp : ::QCustomSeries::qt_metacast(_clname));
}

void sipQCustomSeries::updateDelegate(::QQuickItem*a0, ::qsizetype a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QCustomSeries::updateDelegate(a0, a1);
        return;
    }

    extern void sipVH_QtGraphs_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QQuickItem*, ::qsizetype);

    sipVH_QtGraphs_9(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_QtGraphs_0(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_0(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_1(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_2(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_3(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtGraphs_5(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCustomSeries::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QCustomSeries::componentComplete();
        return;
    }

    extern void sipVH_QtGraphs_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtGraphs_7(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQCustomSeries::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QCustomSeries::classBegin();
        return;
    }

    extern void sipVH_QtGraphs_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtGraphs_7(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QAbstractSeries::SeriesType sipQCustomSeries::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_type);

    if (!sipMeth)
        return ::QCustomSeries::type();

    extern ::QAbstractSeries::SeriesType sipVH_QtGraphs_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtGraphs_8(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QCustomSeries_type, "type(self) -> QAbstractSeries.SeriesType");

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

    {
        const ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCustomSeries, &sipCpp))
        {
            ::QAbstractSeries::SeriesType sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QCustomSeries::type() : sipCpp->type());

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

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_type, doc_QCustomSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_delegate, "delegate(self) -> QQmlComponent|None");

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

    {
        const ::QCustomSeries *sipCpp;

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

            sipRes = sipCpp->delegate();

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

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_delegate, doc_QCustomSeries_delegate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_setDelegate, "setDelegate(self, newDelegate: QQmlComponent|None)");

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

    {
        ::QQmlComponent* a0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCustomSeries, &sipCpp, sipType_QQmlComponent, &a0))
        {
            sipCpp->setDelegate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_setDelegate, doc_QCustomSeries_setDelegate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_mapX, "mapX(self, x: float) -> float");

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

    {
        ::qreal a0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCustomSeries, &sipCpp, &a0))
        {
            ::qreal sipRes;

            sipRes = sipCpp->mapX(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_mapX, doc_QCustomSeries_mapX);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_mapY, "mapY(self, y: float) -> float");

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

    {
        ::qreal a0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCustomSeries, &sipCpp, &a0))
        {
            ::qreal sipRes;

            sipRes = sipCpp->mapY(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_mapY, doc_QCustomSeries_mapY);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_append, "append(self)\n"
"append(self, data: dict[str|None, Any])");

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

    {
        ::QCustomSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const ::QVariantMap* a0;
        int a0State = 0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCustomSeries, &sipCpp, sipType_QMap_0100QString_0100QVariant, &a0, &a0State))
        {
            sipCpp->append(*a0);
            sipReleaseType(const_cast< ::QVariantMap *>(a0), sipType_QMap_0100QString_0100QVariant, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_append, doc_QCustomSeries_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_insert, "insert(self, index: int)\n"
"insert(self, index: int, data: dict[str|None, Any])");

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

    {
        ::qsizetype a0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QCustomSeries, &sipCpp, &a0))
        {
            sipCpp->insert(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        ::qsizetype a0;
        const ::QVariantMap* a1;
        int a1State = 0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BnJ1", &sipSelf, sipType_QCustomSeries, &sipCpp, &a0, sipType_QMap_0100QString_0100QVariant, &a1, &a1State))
        {
            sipCpp->insert(a0, *a1);
            sipReleaseType(const_cast< ::QVariantMap *>(a1), sipType_QMap_0100QString_0100QVariant, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_insert, doc_QCustomSeries_insert);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_remove, "remove(self, index: int)");

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

    {
        ::qsizetype a0;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QCustomSeries, &sipCpp, &a0))
        {
            sipCpp->remove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_remove, doc_QCustomSeries_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_clear, "clear(self)");

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

    {
        ::QCustomSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_clear, doc_QCustomSeries_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_componentComplete, "componentComplete(self)");

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

    {
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCustomSeries, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->::QCustomSeries::componentComplete() : sipCpp->componentComplete());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_componentComplete, doc_QCustomSeries_componentComplete);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_updateDelegate, "updateDelegate(self, item: QQuickItem|None, index: int)");

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

    {
        ::QQuickItem* a0;
        ::qsizetype a1;
        ::QCustomSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8n", &sipSelf, sipType_QCustomSeries, &sipCpp, sipType_QQuickItem, &a0, &a1))
        {
            (sipSelfWasArg ? sipCpp->::QCustomSeries::updateDelegate(a0, a1) : sipCpp->updateDelegate(a0, a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_updateDelegate, doc_QCustomSeries_updateDelegate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCustomSeries_event, "event(self, event: QEvent|None) -> bool");

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

    {
        ::QEvent* a0;
        ::QCustomSeries *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCustomSeries, sipName_event, doc_QCustomSeries_event);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QCustomSeries)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QAbstractSeries)->ctd_cast(static_cast< ::QAbstractSeries *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


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

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


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


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


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

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


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

    {
        ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCustomSeries[] = {{12, 255, 1}};


static PyMethodDef methods_QCustomSeries[] = {
    {sipName_append, meth_QCustomSeries_append, METH_VARARGS, doc_QCustomSeries_append},
    {sipName_clear, meth_QCustomSeries_clear, METH_VARARGS, doc_QCustomSeries_clear},
    {sipName_componentComplete, meth_QCustomSeries_componentComplete, METH_VARARGS, doc_QCustomSeries_componentComplete},
    {sipName_delegate, meth_QCustomSeries_delegate, METH_VARARGS, doc_QCustomSeries_delegate},
    {sipName_event, meth_QCustomSeries_event, METH_VARARGS, doc_QCustomSeries_event},
    {sipName_insert, meth_QCustomSeries_insert, METH_VARARGS, doc_QCustomSeries_insert},
    {sipName_mapX, meth_QCustomSeries_mapX, METH_VARARGS, doc_QCustomSeries_mapX},
    {sipName_mapY, meth_QCustomSeries_mapY, METH_VARARGS, doc_QCustomSeries_mapY},
    {sipName_remove, meth_QCustomSeries_remove, METH_VARARGS, doc_QCustomSeries_remove},
    {sipName_setDelegate, meth_QCustomSeries_setDelegate, METH_VARARGS, doc_QCustomSeries_setDelegate},
    {sipName_type, meth_QCustomSeries_type, METH_VARARGS, doc_QCustomSeries_type},
    {sipName_updateDelegate, meth_QCustomSeries_updateDelegate, METH_VARARGS, doc_QCustomSeries_updateDelegate}
};

PyDoc_STRVAR(doc_QCustomSeries, "\1QCustomSeries(parent: QObject|None = None)");


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


static pyqt6ClassPluginDef plugin_QCustomSeries = {
    &::QCustomSeries::staticMetaObject,
    signals_QCustomSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtGraphs_QCustomSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCustomSeries,
        SIP_NULLPTR,
        &plugin_QCustomSeries,
    },
    {
        sipNameNr_QCustomSeries,
        {0, 0, 1},
        12, methods_QCustomSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QCustomSeries,
    -1,
    -1,
    supers_QCustomSeries,
    SIP_NULLPTR,
    init_type_QCustomSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QCustomSeries,
    SIP_NULLPTR,
    array_QCustomSeries,
    SIP_NULLPTR,
    release_QCustomSeries,
    cast_QCustomSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QCustomSeries,
    sizeof (::QCustomSeries),
};
