/*
 * 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/qvbarmodelmapper.sip"
#include <qvbarmodelmapper.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractbarseries.sip"
#include <qabstractbarseries.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQVBarModelMapper.cpp"
#line 105 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.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/sipQtChartsQVBarModelMapper.cpp"


class sipQVBarModelMapper : public  ::QVBarModelMapper
{
public:
    sipQVBarModelMapper( ::QObject*);
    virtual ~sipQVBarModelMapper();

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

    char sipPyMethods[7];
};

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

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

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

    return  ::QVBarModelMapper::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QVBarModelMapper, _clname, &sipCpp) ? sipCpp :  ::QVBarModelMapper::qt_metacast(_clname));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::QVBarModelMapper::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_QVBarModelMapper_firstBarSetColumn, "firstBarSetColumn(self) -> int");

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->firstBarSetColumn();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_firstBarSetColumn, doc_QVBarModelMapper_firstBarSetColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setFirstBarSetColumn, "setFirstBarSetColumn(self, int)");

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

    {
        int a0;
         ::QVBarModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVBarModelMapper, &sipCpp, &a0))
        {
            sipCpp->setFirstBarSetColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setFirstBarSetColumn, doc_QVBarModelMapper_setFirstBarSetColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_lastBarSetColumn, "lastBarSetColumn(self) -> int");

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->lastBarSetColumn();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_lastBarSetColumn, doc_QVBarModelMapper_lastBarSetColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setLastBarSetColumn, "setLastBarSetColumn(self, int)");

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

    {
        int a0;
         ::QVBarModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVBarModelMapper, &sipCpp, &a0))
        {
            sipCpp->setLastBarSetColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setLastBarSetColumn, doc_QVBarModelMapper_setLastBarSetColumn);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->model();

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

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_model, doc_QVBarModelMapper_model);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setModel, "setModel(self, QAbstractItemModel)");

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

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

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

            sipKeepReference(sipSelf, -6, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setModel, doc_QVBarModelMapper_setModel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_series, "series(self) -> QAbstractBarSeries");

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->series();

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

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_series, doc_QVBarModelMapper_series);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setSeries, "setSeries(self, QAbstractBarSeries)");

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

    {
         ::QAbstractBarSeries* a0;
         ::QVBarModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setSeries, doc_QVBarModelMapper_setSeries);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_firstRow, "firstRow(self) -> int");

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->firstRow();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_firstRow, doc_QVBarModelMapper_firstRow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setFirstRow, "setFirstRow(self, int)");

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

    {
        int a0;
         ::QVBarModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVBarModelMapper, &sipCpp, &a0))
        {
            sipCpp->setFirstRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setFirstRow, doc_QVBarModelMapper_setFirstRow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_rowCount, "rowCount(self) -> int");

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

    {
        const  ::QVBarModelMapper *sipCpp;

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

            sipRes = sipCpp->rowCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_rowCount, doc_QVBarModelMapper_rowCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVBarModelMapper_setRowCount, "setRowCount(self, int)");

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

    {
        int a0;
         ::QVBarModelMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVBarModelMapper, &sipCpp, &a0))
        {
            sipCpp->setRowCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVBarModelMapper, sipName_setRowCount, doc_QVBarModelMapper_setRowCount);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QVBarModelMapper)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QVBarModelMapper[] = {
    {sipName_firstBarSetColumn, meth_QVBarModelMapper_firstBarSetColumn, METH_VARARGS, doc_QVBarModelMapper_firstBarSetColumn},
    {sipName_firstRow, meth_QVBarModelMapper_firstRow, METH_VARARGS, doc_QVBarModelMapper_firstRow},
    {sipName_lastBarSetColumn, meth_QVBarModelMapper_lastBarSetColumn, METH_VARARGS, doc_QVBarModelMapper_lastBarSetColumn},
    {sipName_model, meth_QVBarModelMapper_model, METH_VARARGS, doc_QVBarModelMapper_model},
    {sipName_rowCount, meth_QVBarModelMapper_rowCount, METH_VARARGS, doc_QVBarModelMapper_rowCount},
    {sipName_series, meth_QVBarModelMapper_series, METH_VARARGS, doc_QVBarModelMapper_series},
    {sipName_setFirstBarSetColumn, meth_QVBarModelMapper_setFirstBarSetColumn, METH_VARARGS, doc_QVBarModelMapper_setFirstBarSetColumn},
    {sipName_setFirstRow, meth_QVBarModelMapper_setFirstRow, METH_VARARGS, doc_QVBarModelMapper_setFirstRow},
    {sipName_setLastBarSetColumn, meth_QVBarModelMapper_setLastBarSetColumn, METH_VARARGS, doc_QVBarModelMapper_setLastBarSetColumn},
    {sipName_setModel, meth_QVBarModelMapper_setModel, METH_VARARGS, doc_QVBarModelMapper_setModel},
    {sipName_setRowCount, meth_QVBarModelMapper_setRowCount, METH_VARARGS, doc_QVBarModelMapper_setRowCount},
    {sipName_setSeries, meth_QVBarModelMapper_setSeries, METH_VARARGS, doc_QVBarModelMapper_setSeries}
};

PyDoc_STRVAR(doc_QVBarModelMapper, "\1QVBarModelMapper(parent: QObject = None)");


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


static pyqt6ClassPluginDef plugin_QVBarModelMapper = {
    & ::QVBarModelMapper::staticMetaObject,
    signals_QVBarModelMapper,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QVBarModelMapper = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVBarModelMapper,
        SIP_NULLPTR,
        &plugin_QVBarModelMapper
    },
    {
        sipNameNr_QVBarModelMapper,
        {0, 0, 1},
        12, methods_QVBarModelMapper,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QVBarModelMapper,
    -1,
    -1,
    supers_QVBarModelMapper,
    SIP_NULLPTR,
    init_type_QVBarModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QVBarModelMapper,
    SIP_NULLPTR,
    array_QVBarModelMapper,
    SIP_NULLPTR,
    release_QVBarModelMapper,
    cast_QVBarModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
