/*
 * 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 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qlineseries.sip"
#include <qlineseries.h>
#line 29 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.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/sipQtGraphsQLineSeries.cpp"
#line 1298 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.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 41 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 110 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 44 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 37 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 47 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 50 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 53 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtQml/qqmlcomponent.sip"
#include <qqmlcomponent.h>
#line 56 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 1094 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 65 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 68 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 71 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 74 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.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 79 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 82 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 91 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 94 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 100 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 103 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 106 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 109 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 112 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 115 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 118 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQLineSeries.cpp"


class sipQLineSeries : public ::QLineSeries
{
public:
    sipQLineSeries(::QObject*);
    virtual ~sipQLineSeries();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

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

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

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

    return ::QLineSeries::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtGraphs_qt_metacast(sipPySelf, sipType_QLineSeries, _clname, &sipCpp) ? sipCpp : ::QLineSeries::qt_metacast(_clname));
}

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

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

    if (!sipMeth)
        return ::QLineSeries::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);
}

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

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

    if (!sipMeth)
    {
        ::QLineSeries::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);
}

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

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

    if (!sipMeth)
    {
        ::QLineSeries::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);
}

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

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

    if (!sipMeth)
        return ::QLineSeries::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);
}

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

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

    if (!sipMeth)
        return ::QLineSeries::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);
}

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

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

    if (!sipMeth)
    {
        ::QLineSeries::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);
}

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

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

    if (!sipMeth)
    {
        ::QLineSeries::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 sipQLineSeries::customEvent(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QLineSeries::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 sipQLineSeries::connectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QLineSeries::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 sipQLineSeries::disconnectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QLineSeries::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);
}


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

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

    {
        const ::QLineSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_type, doc_QLineSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_dataPointCoordinatesAt, "dataPointCoordinatesAt(self, x: float, y: float) -> QPointF");

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

    {
        ::qreal a0;
        ::qreal a1;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QLineSeries, &sipCpp, &a0, &a1))
        {
            ::QPointF*sipRes;

            sipRes = new ::QPointF(sipCpp->dataPointCoordinatesAt(a0, a1));

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_dataPointCoordinatesAt, doc_QLineSeries_dataPointCoordinatesAt);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_width, "width(self) -> float");

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

    {
        const ::QLineSeries *sipCpp;

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

            sipRes = sipCpp->width();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_width, doc_QLineSeries_width);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setWidth, "setWidth(self, newWidth: float)");

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

    {
        ::qreal a0;
        ::QLineSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setWidth, doc_QLineSeries_setWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_capStyle, "capStyle(self) -> Qt.PenCapStyle");

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

    {
        const ::QLineSeries *sipCpp;

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

            sipRes = sipCpp->capStyle();

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_capStyle, doc_QLineSeries_capStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setCapStyle, "setCapStyle(self, newCapStyle: Qt.PenCapStyle)");

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

    {
        ::Qt::PenCapStyle a0;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineSeries, &sipCpp, sipType_Qt_PenCapStyle, &a0))
        {
            sipCpp->setCapStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setCapStyle, doc_QLineSeries_setCapStyle);

    return SIP_NULLPTR;
}


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

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

    {
        ::QLineSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_componentComplete, doc_QLineSeries_componentComplete);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_joinStyle, "joinStyle(self) -> Qt.PenJoinStyle");

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

    {
        const ::QLineSeries *sipCpp;

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

            sipRes = sipCpp->joinStyle();

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_joinStyle, doc_QLineSeries_joinStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setJoinStyle, "setJoinStyle(self, newJoinStyle: Qt.PenJoinStyle)");

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

    {
        ::Qt::PenJoinStyle a0;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineSeries, &sipCpp, sipType_Qt_PenJoinStyle, &a0))
        {
            sipCpp->setJoinStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setJoinStyle, doc_QLineSeries_setJoinStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_lineStyle, "lineStyle(self) -> QLineSeries.LineStyle");

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

    {
        const ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineSeries, &sipCpp))
        {
            ::QLineSeries::LineStyle sipRes;

            sipRes = sipCpp->lineStyle();

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_lineStyle, doc_QLineSeries_lineStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setLineStyle, "setLineStyle(self, newLineStyle: QLineSeries.LineStyle)");

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

    {
        ::QLineSeries::LineStyle a0;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineSeries, &sipCpp, sipType_QLineSeries_LineStyle, &a0))
        {
            sipCpp->setLineStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setLineStyle, doc_QLineSeries_setLineStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_strokeStyle, "strokeStyle(self) -> QLineSeries.StrokeStyle");

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

    {
        const ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineSeries, &sipCpp))
        {
            ::QLineSeries::StrokeStyle sipRes;

            sipRes = sipCpp->strokeStyle();

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_strokeStyle, doc_QLineSeries_strokeStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setStrokeStyle, "setStrokeStyle(self, newStrokeStyle: QLineSeries.StrokeStyle)");

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

    {
        ::QLineSeries::StrokeStyle a0;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineSeries, &sipCpp, sipType_QLineSeries_StrokeStyle, &a0))
        {
            sipCpp->setStrokeStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setStrokeStyle, doc_QLineSeries_setStrokeStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_dashOffset, "dashOffset(self) -> float");

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

    {
        const ::QLineSeries *sipCpp;

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

            sipRes = sipCpp->dashOffset();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_dashOffset, doc_QLineSeries_dashOffset);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setDashOffset, "setDashOffset(self, newDashOffset: float)");

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

    {
        ::qreal a0;
        ::QLineSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setDashOffset, doc_QLineSeries_setDashOffset);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_dashPattern, "dashPattern(self) -> list[float]");

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

    {
        const ::QLineSeries *sipCpp;

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

            sipRes = new ::QList< ::qreal>(sipCpp->dashPattern());

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

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_dashPattern, doc_QLineSeries_dashPattern);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLineSeries_setDashPattern, "setDashPattern(self, pattern: Iterable[float])");

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

    {
        const ::QList< ::qreal>* a0;
        int a0State = 0;
        ::QLineSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineSeries, &sipCpp, sipType_QList_2400, &a0, &a0State))
        {
            sipCpp->setDashPattern(*a0);
            sipReleaseType(const_cast< ::QList< ::qreal> *>(a0), sipType_QList_2400, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLineSeries, sipName_setDashPattern, doc_QLineSeries_setDashPattern);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QLineSeries)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


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

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


extern "C" {static void *init_type_QLineSeries(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLineSeries(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLineSeries *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 sipQLineSeries(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QLineSeries[] = {
    {sipName_capStyle, meth_QLineSeries_capStyle, METH_VARARGS, doc_QLineSeries_capStyle},
    {sipName_componentComplete, meth_QLineSeries_componentComplete, METH_VARARGS, doc_QLineSeries_componentComplete},
    {sipName_dashOffset, meth_QLineSeries_dashOffset, METH_VARARGS, doc_QLineSeries_dashOffset},
    {sipName_dashPattern, meth_QLineSeries_dashPattern, METH_VARARGS, doc_QLineSeries_dashPattern},
    {sipName_dataPointCoordinatesAt, meth_QLineSeries_dataPointCoordinatesAt, METH_VARARGS, doc_QLineSeries_dataPointCoordinatesAt},
    {sipName_joinStyle, meth_QLineSeries_joinStyle, METH_VARARGS, doc_QLineSeries_joinStyle},
    {sipName_lineStyle, meth_QLineSeries_lineStyle, METH_VARARGS, doc_QLineSeries_lineStyle},
    {sipName_setCapStyle, meth_QLineSeries_setCapStyle, METH_VARARGS, doc_QLineSeries_setCapStyle},
    {sipName_setDashOffset, meth_QLineSeries_setDashOffset, METH_VARARGS, doc_QLineSeries_setDashOffset},
    {sipName_setDashPattern, meth_QLineSeries_setDashPattern, METH_VARARGS, doc_QLineSeries_setDashPattern},
    {sipName_setJoinStyle, meth_QLineSeries_setJoinStyle, METH_VARARGS, doc_QLineSeries_setJoinStyle},
    {sipName_setLineStyle, meth_QLineSeries_setLineStyle, METH_VARARGS, doc_QLineSeries_setLineStyle},
    {sipName_setStrokeStyle, meth_QLineSeries_setStrokeStyle, METH_VARARGS, doc_QLineSeries_setStrokeStyle},
    {sipName_setWidth, meth_QLineSeries_setWidth, METH_VARARGS, doc_QLineSeries_setWidth},
    {sipName_strokeStyle, meth_QLineSeries_strokeStyle, METH_VARARGS, doc_QLineSeries_strokeStyle},
    {sipName_type, meth_QLineSeries_type, METH_VARARGS, doc_QLineSeries_type},
    {sipName_width, meth_QLineSeries_width, METH_VARARGS, doc_QLineSeries_width}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QLineSeries[] = {
    {sipName_Straight, static_cast<int>(::QLineSeries::LineStyle::Straight)},
    {sipName_StepLeft, static_cast<int>(::QLineSeries::LineStyle::StepLeft)},
    {sipName_StepRight, static_cast<int>(::QLineSeries::LineStyle::StepRight)},
    {sipName_StepCenter, static_cast<int>(::QLineSeries::LineStyle::StepCenter)},
    {sipName_SolidLine, static_cast<int>(::QLineSeries::StrokeStyle::SolidLine)},
    {sipName_DashLine, static_cast<int>(::QLineSeries::StrokeStyle::DashLine)},
    {0, 0}
};

PyDoc_STRVAR(doc_QLineSeries, "\1QLineSeries(parent: QObject|None = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QLineSeries[] = {
    {"dashPatternChanged(QList<qreal>)", "\1dashPatternChanged(self, newDashPattern: Iterable[float])", SIP_NULLPTR, SIP_NULLPTR},
    {"dashOffsetChanged(qreal)", "\1dashOffsetChanged(self, newDashOffset: float)", SIP_NULLPTR, SIP_NULLPTR},
    {"strokeStyleChanged(QLineSeries::StrokeStyle)", "\1strokeStyleChanged(self, newStrokeStyle: QLineSeries.StrokeStyle)", SIP_NULLPTR, SIP_NULLPTR},
    {"lineStyleChanged(QLineSeries::LineStyle)", "\1lineStyleChanged(self, newLineStyle: QLineSeries.LineStyle)", SIP_NULLPTR, SIP_NULLPTR},
    {"joinStyleChanged(Qt::PenJoinStyle)", "\1joinStyleChanged(self, newJoinStyle: Qt.PenJoinStyle)", SIP_NULLPTR, SIP_NULLPTR},
    {"capStyleChanged()", "\1capStyleChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"widthChanged()", "\1widthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QLineSeries = {
    &::QLineSeries::staticMetaObject,
    signals_QLineSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtGraphs_QLineSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLineSeries,
        SIP_NULLPTR,
        &plugin_QLineSeries,
    },
    {
        sipNameNr_QLineSeries,
        {0, 0, 1},
        17, methods_QLineSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QLineSeries, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QLineSeries,
    -1,
    -1,
    supers_QLineSeries,
    SIP_NULLPTR,
    init_type_QLineSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QLineSeries,
    SIP_NULLPTR,
    array_QLineSeries,
    SIP_NULLPTR,
    release_QLineSeries,
    cast_QLineSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QLineSeries,
    sizeof (::QLineSeries),
};
