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

#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractseries.sip"
#include <qabstractseries.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"

#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qchart.sip"
#include <qchart.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 42 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 47 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 50 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 62 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 74 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 79 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 82 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 85 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 88 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 91 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractSeries.cpp"


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

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

    {
        const  ::QAbstractSeries *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractSeries, sipName_type);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->type();

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

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_type, doc_QAbstractSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_setName, "setName(self, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAbstractSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractSeries, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->setName(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_setName, doc_QAbstractSeries_setName);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_name, "name(self) -> str");

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

    {
        const  ::QAbstractSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_name, doc_QAbstractSeries_name);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_setVisible, "setVisible(self, visible: bool = True)");

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

    {
        bool a0 = 1;
         ::QAbstractSeries *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_QAbstractSeries, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_setVisible, doc_QAbstractSeries_setVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_isVisible, "isVisible(self) -> bool");

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

    {
        const  ::QAbstractSeries *sipCpp;

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

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_isVisible, doc_QAbstractSeries_isVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_chart, "chart(self) -> QChart");

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

    {
        const  ::QAbstractSeries *sipCpp;

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

            sipRes = sipCpp->chart();

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

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_chart, doc_QAbstractSeries_chart);

    return SIP_NULLPTR;
}


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

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

    {
         ::QAbstractSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_show, doc_QAbstractSeries_show);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_hide, "hide(self)");

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

    {
         ::QAbstractSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_hide, doc_QAbstractSeries_hide);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_opacity, "opacity(self) -> float");

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

    {
        const  ::QAbstractSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSeries, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_opacity, doc_QAbstractSeries_opacity);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_setOpacity, "setOpacity(self, float)");

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

    {
         ::qreal a0;
         ::QAbstractSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QAbstractSeries, &sipCpp, &a0))
        {
            sipCpp->setOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_setOpacity, doc_QAbstractSeries_setOpacity);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_attachAxis, "attachAxis(self, QAbstractAxis) -> bool");

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

    {
         ::QAbstractAxis* a0;
         ::QAbstractSeries *sipCpp;

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

            sipRes = sipCpp->attachAxis(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_attachAxis, doc_QAbstractSeries_attachAxis);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_detachAxis, "detachAxis(self, QAbstractAxis) -> bool");

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

    {
         ::QAbstractAxis* a0;
         ::QAbstractSeries *sipCpp;

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

            sipRes = sipCpp->detachAxis(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_detachAxis, doc_QAbstractSeries_detachAxis);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_attachedAxes, "attachedAxes(self) -> List[QAbstractAxis]");

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

    {
         ::QAbstractSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSeries, &sipCpp))
        {
            QList< ::QAbstractAxis*>*sipRes;

            sipRes = new QList< ::QAbstractAxis*>(sipCpp->attachedAxes());

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

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_attachedAxes, doc_QAbstractSeries_attachedAxes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_setUseOpenGL, "setUseOpenGL(self, enable: bool = True)");

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

    {
        bool a0 = 1;
         ::QAbstractSeries *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_QAbstractSeries, &sipCpp, &a0))
        {
            sipCpp->setUseOpenGL(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_setUseOpenGL, doc_QAbstractSeries_setUseOpenGL);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractSeries_useOpenGL, "useOpenGL(self) -> bool");

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

    {
        const  ::QAbstractSeries *sipCpp;

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

            sipRes = sipCpp->useOpenGL();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractSeries, sipName_useOpenGL, doc_QAbstractSeries_useOpenGL);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QAbstractSeries)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


static PyMethodDef methods_QAbstractSeries[] = {
    {sipName_attachAxis, meth_QAbstractSeries_attachAxis, METH_VARARGS, doc_QAbstractSeries_attachAxis},
    {sipName_attachedAxes, meth_QAbstractSeries_attachedAxes, METH_VARARGS, doc_QAbstractSeries_attachedAxes},
    {sipName_chart, meth_QAbstractSeries_chart, METH_VARARGS, doc_QAbstractSeries_chart},
    {sipName_detachAxis, meth_QAbstractSeries_detachAxis, METH_VARARGS, doc_QAbstractSeries_detachAxis},
    {sipName_hide, meth_QAbstractSeries_hide, METH_VARARGS, doc_QAbstractSeries_hide},
    {sipName_isVisible, meth_QAbstractSeries_isVisible, METH_VARARGS, doc_QAbstractSeries_isVisible},
    {sipName_name, meth_QAbstractSeries_name, METH_VARARGS, doc_QAbstractSeries_name},
    {sipName_opacity, meth_QAbstractSeries_opacity, METH_VARARGS, doc_QAbstractSeries_opacity},
    {sipName_setName, meth_QAbstractSeries_setName, METH_VARARGS, doc_QAbstractSeries_setName},
    {sipName_setOpacity, meth_QAbstractSeries_setOpacity, METH_VARARGS, doc_QAbstractSeries_setOpacity},
    {sipName_setUseOpenGL, SIP_MLMETH_CAST(meth_QAbstractSeries_setUseOpenGL), METH_VARARGS|METH_KEYWORDS, doc_QAbstractSeries_setUseOpenGL},
    {sipName_setVisible, SIP_MLMETH_CAST(meth_QAbstractSeries_setVisible), METH_VARARGS|METH_KEYWORDS, doc_QAbstractSeries_setVisible},
    {sipName_show, meth_QAbstractSeries_show, METH_VARARGS, doc_QAbstractSeries_show},
    {sipName_type, meth_QAbstractSeries_type, METH_VARARGS, doc_QAbstractSeries_type},
    {sipName_useOpenGL, meth_QAbstractSeries_useOpenGL, METH_VARARGS, doc_QAbstractSeries_useOpenGL}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QAbstractSeries[] = {
    {sipName_SeriesTypeLine, static_cast<int>( ::QAbstractSeries::SeriesTypeLine)},
    {sipName_SeriesTypeArea, static_cast<int>( ::QAbstractSeries::SeriesTypeArea)},
    {sipName_SeriesTypeBar, static_cast<int>( ::QAbstractSeries::SeriesTypeBar)},
    {sipName_SeriesTypeStackedBar, static_cast<int>( ::QAbstractSeries::SeriesTypeStackedBar)},
    {sipName_SeriesTypePercentBar, static_cast<int>( ::QAbstractSeries::SeriesTypePercentBar)},
    {sipName_SeriesTypePie, static_cast<int>( ::QAbstractSeries::SeriesTypePie)},
    {sipName_SeriesTypeScatter, static_cast<int>( ::QAbstractSeries::SeriesTypeScatter)},
    {sipName_SeriesTypeSpline, static_cast<int>( ::QAbstractSeries::SeriesTypeSpline)},
    {sipName_SeriesTypeHorizontalBar, static_cast<int>( ::QAbstractSeries::SeriesTypeHorizontalBar)},
    {sipName_SeriesTypeHorizontalStackedBar, static_cast<int>( ::QAbstractSeries::SeriesTypeHorizontalStackedBar)},
    {sipName_SeriesTypeHorizontalPercentBar, static_cast<int>( ::QAbstractSeries::SeriesTypeHorizontalPercentBar)},
    {sipName_SeriesTypeBoxPlot, static_cast<int>( ::QAbstractSeries::SeriesTypeBoxPlot)},
    {sipName_SeriesTypeCandlestick, static_cast<int>( ::QAbstractSeries::SeriesTypeCandlestick)},
    {0, 0}
};


/* Define this type's signals. */
static const pyqt6QtSignal signals_QAbstractSeries[] = {
    {"useOpenGLChanged()", "\1useOpenGLChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"opacityChanged()", "\1opacityChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"visibleChanged()", "\1visibleChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"nameChanged()", "\1nameChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QAbstractSeries = {
    & ::QAbstractSeries::staticMetaObject,
    signals_QAbstractSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QAbstractSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSeries,
        SIP_NULLPTR,
        &plugin_QAbstractSeries
    },
    {
        sipNameNr_QAbstractSeries,
        {0, 0, 1},
        15, methods_QAbstractSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QAbstractSeries, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QAbstractSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QAbstractSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QAbstractSeries,
    cast_QAbstractSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
