/*
 * 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/qcandlestickmodelmapper.sip"
#include <qcandlestickmodelmapper.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.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/sipQtChartsQCandlestickModelMapper.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 38 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qcandlestickseries.sip"
#include <qcandlestickseries.h>
#line 41 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 105 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.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 49 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 55 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 64 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 67 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 70 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 73 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 76 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCandlestickModelMapper.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/sipQtChartsQCandlestickModelMapper.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/sipQtChartsQCandlestickModelMapper.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/sipQtChartsQCandlestickModelMapper.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/sipQtChartsQCandlestickModelMapper.cpp"


class sipQCandlestickModelMapper : public  ::QCandlestickModelMapper
{
public:
    sipQCandlestickModelMapper( ::QObject*);
    virtual ~sipQCandlestickModelMapper();

    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:
     ::Qt::Orientation orientation() const 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:
    sipQCandlestickModelMapper(const sipQCandlestickModelMapper &);
    sipQCandlestickModelMapper &operator = (const sipQCandlestickModelMapper &);

    char sipPyMethods[8];
};

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

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

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

    return  ::QCandlestickModelMapper::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QCandlestickModelMapper, _clname, &sipCpp) ? sipCpp :  ::QCandlestickModelMapper::qt_metacast(_clname));
}

 ::Qt::Orientation sipQCandlestickModelMapper::orientation() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Qt::Horizontal;

    extern  ::Qt::Orientation sipVH_QtCharts_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

    if (!sipMeth)
        return  ::QCandlestickModelMapper::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 sipQCandlestickModelMapper::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCandlestickModelMapper::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 sipQCandlestickModelMapper::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QCandlestickModelMapper::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 sipQCandlestickModelMapper::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::QCandlestickModelMapper::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_QCandlestickModelMapper_setModel, "setModel(self, QAbstractItemModel)");

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

    {
         ::QAbstractItemModel* a0;
        PyObject *a0Keep;
         ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            sipCpp->setModel(a0);

            sipKeepReference(sipSelf, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setModel, doc_QCandlestickModelMapper_setModel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_model, "model(self) -> QAbstractItemModel");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

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

            sipRes = sipCpp->model();

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

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_model, doc_QCandlestickModelMapper_model);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setSeries, "setSeries(self, QCandlestickSeries)");

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

    {
         ::QCandlestickSeries* a0;
         ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp, sipType_QCandlestickSeries, &a0))
        {
            sipCpp->setSeries(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setSeries, doc_QCandlestickModelMapper_setSeries);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_series, "series(self) -> QCandlestickSeries");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

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

            sipRes = sipCpp->series();

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

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_series, doc_QCandlestickModelMapper_series);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_orientation, "orientation(self) -> Qt.Orientation");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QCandlestickModelMapper, sipName_orientation);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->orientation();

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

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_orientation, doc_QCandlestickModelMapper_orientation);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setTimestamp, "setTimestamp(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setTimestamp, doc_QCandlestickModelMapper_setTimestamp);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_timestamp, "timestamp(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->timestamp();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_timestamp, doc_QCandlestickModelMapper_timestamp);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setOpen, "setOpen(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setOpen, doc_QCandlestickModelMapper_setOpen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_open, "open(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->open();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_open, doc_QCandlestickModelMapper_open);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setHigh, "setHigh(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setHigh, doc_QCandlestickModelMapper_setHigh);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_high, "high(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->high();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_high, doc_QCandlestickModelMapper_high);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setLow, "setLow(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setLow, doc_QCandlestickModelMapper_setLow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_low, "low(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->low();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_low, doc_QCandlestickModelMapper_low);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setClose, "setClose(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setClose, doc_QCandlestickModelMapper_setClose);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_close, "close(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->close();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_close, doc_QCandlestickModelMapper_close);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setFirstSetSection, "setFirstSetSection(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp, &a0))
        {
            sipCpp->setFirstSetSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setFirstSetSection, doc_QCandlestickModelMapper_setFirstSetSection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_firstSetSection, "firstSetSection(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->firstSetSection();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_firstSetSection, doc_QCandlestickModelMapper_firstSetSection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_setLastSetSection, "setLastSetSection(self, int)");

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

    {
        int a0;
         ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp, &a0))
        {
            sipCpp->setLastSetSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_setLastSetSection, doc_QCandlestickModelMapper_setLastSetSection);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCandlestickModelMapper_lastSetSection, "lastSetSection(self) -> int");

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

    {
        const  ::QCandlestickModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QCandlestickModelMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->lastSetSection();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCandlestickModelMapper, sipName_lastSetSection, doc_QCandlestickModelMapper_lastSetSection);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QCandlestickModelMapper)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QCandlestickModelMapper[] = {
    {sipName_close, meth_QCandlestickModelMapper_close, METH_VARARGS, doc_QCandlestickModelMapper_close},
    {sipName_firstSetSection, meth_QCandlestickModelMapper_firstSetSection, METH_VARARGS, doc_QCandlestickModelMapper_firstSetSection},
    {sipName_high, meth_QCandlestickModelMapper_high, METH_VARARGS, doc_QCandlestickModelMapper_high},
    {sipName_lastSetSection, meth_QCandlestickModelMapper_lastSetSection, METH_VARARGS, doc_QCandlestickModelMapper_lastSetSection},
    {sipName_low, meth_QCandlestickModelMapper_low, METH_VARARGS, doc_QCandlestickModelMapper_low},
    {sipName_model, meth_QCandlestickModelMapper_model, METH_VARARGS, doc_QCandlestickModelMapper_model},
    {sipName_open, meth_QCandlestickModelMapper_open, METH_VARARGS, doc_QCandlestickModelMapper_open},
    {sipName_orientation, meth_QCandlestickModelMapper_orientation, METH_VARARGS, doc_QCandlestickModelMapper_orientation},
    {sipName_series, meth_QCandlestickModelMapper_series, METH_VARARGS, doc_QCandlestickModelMapper_series},
    {sipName_setClose, meth_QCandlestickModelMapper_setClose, METH_VARARGS, doc_QCandlestickModelMapper_setClose},
    {sipName_setFirstSetSection, meth_QCandlestickModelMapper_setFirstSetSection, METH_VARARGS, doc_QCandlestickModelMapper_setFirstSetSection},
    {sipName_setHigh, meth_QCandlestickModelMapper_setHigh, METH_VARARGS, doc_QCandlestickModelMapper_setHigh},
    {sipName_setLastSetSection, meth_QCandlestickModelMapper_setLastSetSection, METH_VARARGS, doc_QCandlestickModelMapper_setLastSetSection},
    {sipName_setLow, meth_QCandlestickModelMapper_setLow, METH_VARARGS, doc_QCandlestickModelMapper_setLow},
    {sipName_setModel, meth_QCandlestickModelMapper_setModel, METH_VARARGS, doc_QCandlestickModelMapper_setModel},
    {sipName_setOpen, meth_QCandlestickModelMapper_setOpen, METH_VARARGS, doc_QCandlestickModelMapper_setOpen},
    {sipName_setSeries, meth_QCandlestickModelMapper_setSeries, METH_VARARGS, doc_QCandlestickModelMapper_setSeries},
    {sipName_setTimestamp, meth_QCandlestickModelMapper_setTimestamp, METH_VARARGS, doc_QCandlestickModelMapper_setTimestamp},
    {sipName_timestamp, meth_QCandlestickModelMapper_timestamp, METH_VARARGS, doc_QCandlestickModelMapper_timestamp}
};

PyDoc_STRVAR(doc_QCandlestickModelMapper, "\1QCandlestickModelMapper(parent: QObject = None)");


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


static pyqt6ClassPluginDef plugin_QCandlestickModelMapper = {
    & ::QCandlestickModelMapper::staticMetaObject,
    signals_QCandlestickModelMapper,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QCandlestickModelMapper = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCandlestickModelMapper,
        SIP_NULLPTR,
        &plugin_QCandlestickModelMapper
    },
    {
        sipNameNr_QCandlestickModelMapper,
        {0, 0, 1},
        19, methods_QCandlestickModelMapper,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QCandlestickModelMapper,
    -1,
    -1,
    supers_QCandlestickModelMapper,
    SIP_NULLPTR,
    init_type_QCandlestickModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QCandlestickModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QCandlestickModelMapper,
    cast_QCandlestickModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
