/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * 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.1/sip/QtCharts/qcandlestickseries.sip"
#include <qcandlestickseries.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"

#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/sip/QtCharts/qcandlestickset.sip"
#include <qcandlestickset.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qpen.sip"
#include <qpen.h>
#line 42 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qbrush.sip"
#include <qbrush.h>
#line 45 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 48 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/sip/QtCharts/qabstractseries.sip"
#include <qabstractseries.h>
#line 51 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/sip/QtCharts/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 57 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/sip/QtCharts/qchart.sip"
#include <qchart.h>
#line 60 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 63 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.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 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 74 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 245 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 232 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 83 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 89 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 92 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.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 97 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 100 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 103 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 106 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 109 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"


class sipQCandlestickSeries : public  ::QCandlestickSeries
{
public:
    sipQCandlestickSeries( ::QObject*);
    virtual ~sipQCandlestickSeries();

    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 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;
     ::QAbstractSeries::SeriesType type() const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

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

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

const QMetaObject *sipQCandlestickSeries::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCharts_qt_metaobject(sipPySelf,sipType_QCandlestickSeries);

    return  ::QCandlestickSeries::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QCandlestickSeries, _clname, &sipCpp) ? sipCpp :  ::QCandlestickSeries::qt_metacast(_clname));
}

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

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

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

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

    sipVH_QtCharts_0(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_0(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_1(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_2(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_3(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtCharts_5(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtCharts_7(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QCandlestickSeries_append, "append(self, QCandlestickSet) -> bool\n"
"append(self, Iterable[QCandlestickSet]) -> bool");

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

    {
         ::QCandlestickSet* a0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QCandlestickSet, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->append(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QCandlestickSet*>* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ3", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QList_0101QCandlestickSet, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->append(*a0);
            sipReleaseType(const_cast<QList< ::QCandlestickSet*> *>(a0), sipType_QList_0101QCandlestickSet, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_append, doc_QCandlestickSeries_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_remove, "remove(self, QCandlestickSet) -> bool\n"
"remove(self, Iterable[QCandlestickSet]) -> bool");

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

    {
         ::QCandlestickSet* a0;
         ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->remove(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QCandlestickSet*>* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QList_0101QCandlestickSet, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->remove(*a0);
            sipReleaseType(const_cast<QList< ::QCandlestickSet*> *>(a0), sipType_QList_0101QCandlestickSet, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_remove, doc_QCandlestickSeries_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_insert, "insert(self, int, QCandlestickSet) -> bool");

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

    {
        int a0;
         ::QCandlestickSet* a1;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QCandlestickSeries, &sipCpp, &a0, sipType_QCandlestickSet, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->insert(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_insert, doc_QCandlestickSeries_insert);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_take, "take(self, QCandlestickSet) -> bool");

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

    {
         ::QCandlestickSet* a0;
         ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->take(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_take, doc_QCandlestickSeries_take);

    return SIP_NULLPTR;
}


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

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

    {
         ::QCandlestickSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_clear, doc_QCandlestickSeries_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_sets, "sets(self) -> List[QCandlestickSet]");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = new QList< ::QCandlestickSet*>(sipCpp->sets());

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_sets, doc_QCandlestickSeries_sets);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_count, "count(self) -> int");

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

    {
        const  ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCandlestickSeries, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_count, doc_QCandlestickSeries_count);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_type, doc_QCandlestickSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setMaximumColumnWidth, "setMaximumColumnWidth(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setMaximumColumnWidth, doc_QCandlestickSeries_setMaximumColumnWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_maximumColumnWidth, "maximumColumnWidth(self) -> float");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->maximumColumnWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_maximumColumnWidth, doc_QCandlestickSeries_maximumColumnWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setMinimumColumnWidth, "setMinimumColumnWidth(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setMinimumColumnWidth, doc_QCandlestickSeries_setMinimumColumnWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_minimumColumnWidth, "minimumColumnWidth(self) -> float");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->minimumColumnWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_minimumColumnWidth, doc_QCandlestickSeries_minimumColumnWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setBodyWidth, "setBodyWidth(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setBodyWidth, doc_QCandlestickSeries_setBodyWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_bodyWidth, "bodyWidth(self) -> float");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->bodyWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_bodyWidth, doc_QCandlestickSeries_bodyWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setBodyOutlineVisible, "setBodyOutlineVisible(self, bool)");

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

    {
        bool a0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCandlestickSeries, &sipCpp, &a0))
        {
            sipCpp->setBodyOutlineVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setBodyOutlineVisible, doc_QCandlestickSeries_setBodyOutlineVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_bodyOutlineVisible, "bodyOutlineVisible(self) -> bool");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->bodyOutlineVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_bodyOutlineVisible, doc_QCandlestickSeries_bodyOutlineVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setCapsWidth, "setCapsWidth(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setCapsWidth, doc_QCandlestickSeries_setCapsWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_capsWidth, "capsWidth(self) -> float");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->capsWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_capsWidth, doc_QCandlestickSeries_capsWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setCapsVisible, "setCapsVisible(self, bool)");

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

    {
        bool a0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCandlestickSeries, &sipCpp, &a0))
        {
            sipCpp->setCapsVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setCapsVisible, doc_QCandlestickSeries_setCapsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_capsVisible, "capsVisible(self) -> bool");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = sipCpp->capsVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_capsVisible, doc_QCandlestickSeries_capsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setIncreasingColor, "setIncreasingColor(self, Union[QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setIncreasingColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setIncreasingColor, doc_QCandlestickSeries_setIncreasingColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_increasingColor, "increasingColor(self) -> QColor");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = new  ::QColor(sipCpp->increasingColor());

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_increasingColor, doc_QCandlestickSeries_increasingColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setDecreasingColor, "setDecreasingColor(self, Union[QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setDecreasingColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setDecreasingColor, doc_QCandlestickSeries_setDecreasingColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_decreasingColor, "decreasingColor(self) -> QColor");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = new  ::QColor(sipCpp->decreasingColor());

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_decreasingColor, doc_QCandlestickSeries_decreasingColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setBrush, "setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QBrush* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBrush(*a0);
            sipReleaseType(const_cast< ::QBrush *>(a0), sipType_QBrush, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setBrush, doc_QCandlestickSeries_setBrush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_brush, "brush(self) -> QBrush");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = new  ::QBrush(sipCpp->brush());

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_brush, doc_QCandlestickSeries_brush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_setPen, "setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QPen* a0;
        int a0State = 0;
         ::QCandlestickSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSeries, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            sipCpp->setPen(*a0);
            sipReleaseType(const_cast< ::QPen *>(a0), sipType_QPen, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_setPen, doc_QCandlestickSeries_setPen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSeries_pen, "pen(self) -> QPen");

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

    {
        const  ::QCandlestickSeries *sipCpp;

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

            sipRes = new  ::QPen(sipCpp->pen());

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSeries, sipName_pen, doc_QCandlestickSeries_pen);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QCandlestickSeries___len__(PyObject *);}
static Py_ssize_t slot_QCandlestickSeries___len__(PyObject *sipSelf)
{
     ::QCandlestickSeries *sipCpp = reinterpret_cast< ::QCandlestickSeries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCandlestickSeries));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (Py_ssize_t)sipCpp->count();
#line 1141 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.1/build/QtCharts/sipQtChartsQCandlestickSeries.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QCandlestickSeries)
        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_QCandlestickSeries(void *, int);}
static void release_QCandlestickSeries(void *sipCppV, int)
{
     ::QCandlestickSeries *sipCpp = reinterpret_cast< ::QCandlestickSeries *>(sipCppV);

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


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


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


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


/* Define this type's Python slots. */
static sipPySlotDef slots_QCandlestickSeries[] = {
    {(void *)slot_QCandlestickSeries___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QCandlestickSeries[] = {
    {sipName_append, meth_QCandlestickSeries_append, METH_VARARGS, doc_QCandlestickSeries_append},
    {sipName_bodyOutlineVisible, meth_QCandlestickSeries_bodyOutlineVisible, METH_VARARGS, doc_QCandlestickSeries_bodyOutlineVisible},
    {sipName_bodyWidth, meth_QCandlestickSeries_bodyWidth, METH_VARARGS, doc_QCandlestickSeries_bodyWidth},
    {sipName_brush, meth_QCandlestickSeries_brush, METH_VARARGS, doc_QCandlestickSeries_brush},
    {sipName_capsVisible, meth_QCandlestickSeries_capsVisible, METH_VARARGS, doc_QCandlestickSeries_capsVisible},
    {sipName_capsWidth, meth_QCandlestickSeries_capsWidth, METH_VARARGS, doc_QCandlestickSeries_capsWidth},
    {sipName_clear, meth_QCandlestickSeries_clear, METH_VARARGS, doc_QCandlestickSeries_clear},
    {sipName_count, meth_QCandlestickSeries_count, METH_VARARGS, doc_QCandlestickSeries_count},
    {sipName_decreasingColor, meth_QCandlestickSeries_decreasingColor, METH_VARARGS, doc_QCandlestickSeries_decreasingColor},
    {sipName_increasingColor, meth_QCandlestickSeries_increasingColor, METH_VARARGS, doc_QCandlestickSeries_increasingColor},
    {sipName_insert, meth_QCandlestickSeries_insert, METH_VARARGS, doc_QCandlestickSeries_insert},
    {sipName_maximumColumnWidth, meth_QCandlestickSeries_maximumColumnWidth, METH_VARARGS, doc_QCandlestickSeries_maximumColumnWidth},
    {sipName_minimumColumnWidth, meth_QCandlestickSeries_minimumColumnWidth, METH_VARARGS, doc_QCandlestickSeries_minimumColumnWidth},
    {sipName_pen, meth_QCandlestickSeries_pen, METH_VARARGS, doc_QCandlestickSeries_pen},
    {sipName_remove, meth_QCandlestickSeries_remove, METH_VARARGS, doc_QCandlestickSeries_remove},
    {sipName_setBodyOutlineVisible, meth_QCandlestickSeries_setBodyOutlineVisible, METH_VARARGS, doc_QCandlestickSeries_setBodyOutlineVisible},
    {sipName_setBodyWidth, meth_QCandlestickSeries_setBodyWidth, METH_VARARGS, doc_QCandlestickSeries_setBodyWidth},
    {sipName_setBrush, meth_QCandlestickSeries_setBrush, METH_VARARGS, doc_QCandlestickSeries_setBrush},
    {sipName_setCapsVisible, meth_QCandlestickSeries_setCapsVisible, METH_VARARGS, doc_QCandlestickSeries_setCapsVisible},
    {sipName_setCapsWidth, meth_QCandlestickSeries_setCapsWidth, METH_VARARGS, doc_QCandlestickSeries_setCapsWidth},
    {sipName_setDecreasingColor, meth_QCandlestickSeries_setDecreasingColor, METH_VARARGS, doc_QCandlestickSeries_setDecreasingColor},
    {sipName_setIncreasingColor, meth_QCandlestickSeries_setIncreasingColor, METH_VARARGS, doc_QCandlestickSeries_setIncreasingColor},
    {sipName_setMaximumColumnWidth, meth_QCandlestickSeries_setMaximumColumnWidth, METH_VARARGS, doc_QCandlestickSeries_setMaximumColumnWidth},
    {sipName_setMinimumColumnWidth, meth_QCandlestickSeries_setMinimumColumnWidth, METH_VARARGS, doc_QCandlestickSeries_setMinimumColumnWidth},
    {sipName_setPen, meth_QCandlestickSeries_setPen, METH_VARARGS, doc_QCandlestickSeries_setPen},
    {sipName_sets, meth_QCandlestickSeries_sets, METH_VARARGS, doc_QCandlestickSeries_sets},
    {sipName_take, meth_QCandlestickSeries_take, METH_VARARGS, doc_QCandlestickSeries_take},
    {sipName_type, meth_QCandlestickSeries_type, METH_VARARGS, doc_QCandlestickSeries_type}
};

PyDoc_STRVAR(doc_QCandlestickSeries, "\1QCandlestickSeries(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QCandlestickSeries[] = {
    {"penChanged()", "\1penChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"brushChanged()", "\1brushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"decreasingColorChanged()", "\1decreasingColorChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"increasingColorChanged()", "\1increasingColorChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"capsVisibilityChanged()", "\1capsVisibilityChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"capsWidthChanged()", "\1capsWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"bodyOutlineVisibilityChanged()", "\1bodyOutlineVisibilityChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"bodyWidthChanged()", "\1bodyWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"minimumColumnWidthChanged()", "\1minimumColumnWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"maximumColumnWidthChanged()", "\1maximumColumnWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"countChanged()", "\1countChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"candlestickSetsRemoved(QList<QCandlestickSet*>)", "\1candlestickSetsRemoved(self, Iterable[QCandlestickSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"candlestickSetsAdded(QList<QCandlestickSet*>)", "\1candlestickSetsAdded(self, Iterable[QCandlestickSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"doubleClicked(QCandlestickSet*)", "\1doubleClicked(self, QCandlestickSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"released(QCandlestickSet*)", "\1released(self, QCandlestickSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed(QCandlestickSet*)", "\1pressed(self, QCandlestickSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool,QCandlestickSet*)", "\1hovered(self, bool, QCandlestickSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked(QCandlestickSet*)", "\1clicked(self, QCandlestickSet)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QCandlestickSeries = {
    & ::QCandlestickSeries::staticMetaObject,
    signals_QCandlestickSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QCandlestickSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCandlestickSeries,
        SIP_NULLPTR,
        &plugin_QCandlestickSeries
    },
    {
        sipNameNr_QCandlestickSeries,
        {0, 0, 1},
        28, methods_QCandlestickSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QCandlestickSeries,
    -1,
    -1,
    supers_QCandlestickSeries,
    slots_QCandlestickSeries,
    init_type_QCandlestickSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QCandlestickSeries,
    SIP_NULLPTR,
    array_QCandlestickSeries,
    SIP_NULLPTR,
    release_QCandlestickSeries,
    cast_QCandlestickSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QCandlestickSeries,
    sizeof ( ::QCandlestickSeries),
};
