/*
 * 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/qcandlestickset.sip"
#include <qcandlestickset.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.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.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qpen.sip"
#include <qpen.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qbrush.sip"
#include <qbrush.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.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 44 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 47 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 241 "/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/sipQtChartsQCandlestickSet.cpp"
#line 228 "/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/sipQtChartsQCandlestickSet.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 59 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.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 76 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 79 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 82 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 85 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickSet.cpp"


class sipQCandlestickSet : public  ::QCandlestickSet
{
public:
    sipQCandlestickSet( ::qreal, ::QObject*);
    sipQCandlestickSet( ::qreal, ::qreal, ::qreal, ::qreal, ::qreal, ::QObject*);
    virtual ~sipQCandlestickSet();

    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:
    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:
    sipQCandlestickSet(const sipQCandlestickSet &);
    sipQCandlestickSet &operator = (const sipQCandlestickSet &);

    char sipPyMethods[7];
};

sipQCandlestickSet::sipQCandlestickSet( ::qreal a0, ::QObject*a1):  ::QCandlestickSet(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCandlestickSet::sipQCandlestickSet( ::qreal a0, ::qreal a1, ::qreal a2, ::qreal a3, ::qreal a4, ::QObject*a5):  ::QCandlestickSet(a0,a1,a2,a3,a4,a5), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

    return  ::QCandlestickSet::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QCandlestickSet, _clname, &sipCpp) ? sipCpp :  ::QCandlestickSet::qt_metacast(_clname));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


PyDoc_STRVAR(doc_QCandlestickSet_setTimestamp, "setTimestamp(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_setTimestamp, doc_QCandlestickSet_setTimestamp);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_timestamp, "timestamp(self) -> float");

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

    {
        const  ::QCandlestickSet *sipCpp;

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

            sipRes = sipCpp->timestamp();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_timestamp, doc_QCandlestickSet_timestamp);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_setOpen, "setOpen(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_setOpen, doc_QCandlestickSet_setOpen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_open, "open(self) -> float");

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

    {
        const  ::QCandlestickSet *sipCpp;

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

            sipRes = sipCpp->open();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_open, doc_QCandlestickSet_open);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_setHigh, "setHigh(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_setHigh, doc_QCandlestickSet_setHigh);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_high, "high(self) -> float");

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

    {
        const  ::QCandlestickSet *sipCpp;

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

            sipRes = sipCpp->high();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_high, doc_QCandlestickSet_high);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_setLow, "setLow(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_setLow, doc_QCandlestickSet_setLow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_low, "low(self) -> float");

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

    {
        const  ::QCandlestickSet *sipCpp;

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

            sipRes = sipCpp->low();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_low, doc_QCandlestickSet_low);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_setClose, "setClose(self, float)");

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

    {
         ::qreal a0;
         ::QCandlestickSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_setClose, doc_QCandlestickSet_setClose);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickSet_close, "close(self) -> float");

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

    {
        const  ::QCandlestickSet *sipCpp;

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

            sipRes = sipCpp->close();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_close, doc_QCandlestickSet_close);

    return SIP_NULLPTR;
}


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

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSet, &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_QCandlestickSet, sipName_setBrush, doc_QCandlestickSet_setBrush);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QCandlestickSet *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_brush, doc_QCandlestickSet_brush);

    return SIP_NULLPTR;
}


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

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCandlestickSet, &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_QCandlestickSet, sipName_setPen, doc_QCandlestickSet_setPen);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QCandlestickSet *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QCandlestickSet, sipName_pen, doc_QCandlestickSet_pen);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QCandlestickSet)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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

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


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

    {
         ::qreal a0 = 0;
         ::QObject* a1 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::qreal a4 = 0;
         ::QObject* a5 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd|dJH", &a0, &a1, &a2, &a3, &a4, sipType_QObject, &a5, sipOwner))
        {
            sipCpp = new sipQCandlestickSet(a0,a1,a2,a3,a4,a5);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QCandlestickSet[] = {
    {sipName_brush, meth_QCandlestickSet_brush, METH_VARARGS, doc_QCandlestickSet_brush},
    {sipName_close, meth_QCandlestickSet_close, METH_VARARGS, doc_QCandlestickSet_close},
    {sipName_high, meth_QCandlestickSet_high, METH_VARARGS, doc_QCandlestickSet_high},
    {sipName_low, meth_QCandlestickSet_low, METH_VARARGS, doc_QCandlestickSet_low},
    {sipName_open, meth_QCandlestickSet_open, METH_VARARGS, doc_QCandlestickSet_open},
    {sipName_pen, meth_QCandlestickSet_pen, METH_VARARGS, doc_QCandlestickSet_pen},
    {sipName_setBrush, meth_QCandlestickSet_setBrush, METH_VARARGS, doc_QCandlestickSet_setBrush},
    {sipName_setClose, meth_QCandlestickSet_setClose, METH_VARARGS, doc_QCandlestickSet_setClose},
    {sipName_setHigh, meth_QCandlestickSet_setHigh, METH_VARARGS, doc_QCandlestickSet_setHigh},
    {sipName_setLow, meth_QCandlestickSet_setLow, METH_VARARGS, doc_QCandlestickSet_setLow},
    {sipName_setOpen, meth_QCandlestickSet_setOpen, METH_VARARGS, doc_QCandlestickSet_setOpen},
    {sipName_setPen, meth_QCandlestickSet_setPen, METH_VARARGS, doc_QCandlestickSet_setPen},
    {sipName_setTimestamp, meth_QCandlestickSet_setTimestamp, METH_VARARGS, doc_QCandlestickSet_setTimestamp},
    {sipName_timestamp, meth_QCandlestickSet_timestamp, METH_VARARGS, doc_QCandlestickSet_timestamp}
};

PyDoc_STRVAR(doc_QCandlestickSet, "\1QCandlestickSet(timestamp: float = 0, parent: QObject = None)\n"
"QCandlestickSet(float, float, float, float, timestamp: float = 0, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QCandlestickSet[] = {
    {"penChanged()", "\1penChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"brushChanged()", "\1brushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"closeChanged()", "\1closeChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"lowChanged()", "\1lowChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"highChanged()", "\1highChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"openChanged()", "\1openChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"timestampChanged()", "\1timestampChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"doubleClicked()", "\1doubleClicked(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"released()", "\1released(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed()", "\1pressed(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool)", "\1hovered(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked()", "\1clicked(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QCandlestickSet = {
    & ::QCandlestickSet::staticMetaObject,
    signals_QCandlestickSet,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QCandlestickSet = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCandlestickSet,
        SIP_NULLPTR,
        &plugin_QCandlestickSet
    },
    {
        sipNameNr_QCandlestickSet,
        {0, 0, 1},
        14, methods_QCandlestickSet,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QCandlestickSet,
    -1,
    -1,
    supers_QCandlestickSet,
    SIP_NULLPTR,
    init_type_QCandlestickSet,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QCandlestickSet,
    SIP_NULLPTR,
    array_QCandlestickSet,
    SIP_NULLPTR,
    release_QCandlestickSet,
    cast_QCandlestickSet,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
