/*
 * 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/qvpiemodelmapper.sip"
#include <qvpiemodelmapper.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qpieseries.sip"
#include <qpieseries.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.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/sipQtChartsQVPieModelMapper.cpp"


class sipQVPieModelMapper : public  ::QVPieModelMapper
{
public:
    sipQVPieModelMapper( ::QObject*);
    virtual ~sipQVPieModelMapper();

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

    char sipPyMethods[7];
};

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

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

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

    return  ::QVPieModelMapper::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QVPieModelMapper, _clname, &sipCpp) ? sipCpp :  ::QVPieModelMapper::qt_metacast(_clname));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::QVPieModelMapper::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_QVPieModelMapper_valuesColumn, "valuesColumn(self) -> int");

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->valuesColumn();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_valuesColumn, doc_QVPieModelMapper_valuesColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVPieModelMapper_setValuesColumn, "setValuesColumn(self, int)");

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

    {
        int a0;
         ::QVPieModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setValuesColumn, doc_QVPieModelMapper_setValuesColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVPieModelMapper_labelsColumn, "labelsColumn(self) -> int");

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->labelsColumn();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_labelsColumn, doc_QVPieModelMapper_labelsColumn);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVPieModelMapper_setLabelsColumn, "setLabelsColumn(self, int)");

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

    {
        int a0;
         ::QVPieModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setLabelsColumn, doc_QVPieModelMapper_setLabelsColumn);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->model();

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

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_model, doc_QVPieModelMapper_model);

    return SIP_NULLPTR;
}


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

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

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

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

            sipKeepReference(sipSelf, -8, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setModel, doc_QVPieModelMapper_setModel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVPieModelMapper_series, "series(self) -> QPieSeries");

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->series();

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

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_series, doc_QVPieModelMapper_series);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVPieModelMapper_setSeries, "setSeries(self, QPieSeries)");

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

    {
         ::QPieSeries* a0;
         ::QVPieModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setSeries, doc_QVPieModelMapper_setSeries);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->firstRow();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_firstRow, doc_QVPieModelMapper_firstRow);

    return SIP_NULLPTR;
}


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

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

    {
        int a0;
         ::QVPieModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setFirstRow, doc_QVPieModelMapper_setFirstRow);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QVPieModelMapper *sipCpp;

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

            sipRes = sipCpp->rowCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_rowCount, doc_QVPieModelMapper_rowCount);

    return SIP_NULLPTR;
}


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

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

    {
        int a0;
         ::QVPieModelMapper *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVPieModelMapper, sipName_setRowCount, doc_QVPieModelMapper_setRowCount);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QVPieModelMapper)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QVPieModelMapper[] = {
    {sipName_firstRow, meth_QVPieModelMapper_firstRow, METH_VARARGS, doc_QVPieModelMapper_firstRow},
    {sipName_labelsColumn, meth_QVPieModelMapper_labelsColumn, METH_VARARGS, doc_QVPieModelMapper_labelsColumn},
    {sipName_model, meth_QVPieModelMapper_model, METH_VARARGS, doc_QVPieModelMapper_model},
    {sipName_rowCount, meth_QVPieModelMapper_rowCount, METH_VARARGS, doc_QVPieModelMapper_rowCount},
    {sipName_series, meth_QVPieModelMapper_series, METH_VARARGS, doc_QVPieModelMapper_series},
    {sipName_setFirstRow, meth_QVPieModelMapper_setFirstRow, METH_VARARGS, doc_QVPieModelMapper_setFirstRow},
    {sipName_setLabelsColumn, meth_QVPieModelMapper_setLabelsColumn, METH_VARARGS, doc_QVPieModelMapper_setLabelsColumn},
    {sipName_setModel, meth_QVPieModelMapper_setModel, METH_VARARGS, doc_QVPieModelMapper_setModel},
    {sipName_setRowCount, meth_QVPieModelMapper_setRowCount, METH_VARARGS, doc_QVPieModelMapper_setRowCount},
    {sipName_setSeries, meth_QVPieModelMapper_setSeries, METH_VARARGS, doc_QVPieModelMapper_setSeries},
    {sipName_setValuesColumn, meth_QVPieModelMapper_setValuesColumn, METH_VARARGS, doc_QVPieModelMapper_setValuesColumn},
    {sipName_valuesColumn, meth_QVPieModelMapper_valuesColumn, METH_VARARGS, doc_QVPieModelMapper_valuesColumn}
};

PyDoc_STRVAR(doc_QVPieModelMapper, "\1QVPieModelMapper(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QVPieModelMapper[] = {
    {"rowCountChanged()", "\1rowCountChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"firstRowChanged()", "\1firstRowChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsColumnChanged()", "\1labelsColumnChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"valuesColumnChanged()", "\1valuesColumnChanged(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_QVPieModelMapper = {
    & ::QVPieModelMapper::staticMetaObject,
    signals_QVPieModelMapper,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QVPieModelMapper = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVPieModelMapper,
        SIP_NULLPTR,
        &plugin_QVPieModelMapper
    },
    {
        sipNameNr_QVPieModelMapper,
        {0, 0, 1},
        12, methods_QVPieModelMapper,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QVPieModelMapper,
    -1,
    -1,
    supers_QVPieModelMapper,
    SIP_NULLPTR,
    init_type_QVPieModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QVPieModelMapper,
    SIP_NULLPTR,
    array_QVPieModelMapper,
    SIP_NULLPTR,
    release_QVPieModelMapper,
    cast_QVPieModelMapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
