/*
 * 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/qabstractbarseries.sip"
#include <qabstractbarseries.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"

#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qbarset.sip"
#include <qbarset.h>
#line 33 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 45 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qchart.sip"
#include <qchart.h>
#line 48 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractseries.sip"
#include <qabstractseries.h>
#line 51 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.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 56 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 59 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 74 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.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 88 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 91 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 94 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 97 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 100 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQAbstractBarSeries.cpp"


PyDoc_STRVAR(doc_QAbstractBarSeries_setBarWidth, "setBarWidth(self, float)");

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

    {
         ::qreal a0;
         ::QAbstractBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setBarWidth, doc_QAbstractBarSeries_setBarWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_barWidth, "barWidth(self) -> float");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->barWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_barWidth, doc_QAbstractBarSeries_barWidth);

    return SIP_NULLPTR;
}


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

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

    {
         ::QBarSet* a0;
         ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->append(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QBarSet*>* a0;
        int a0State = 0;
         ::QAbstractBarSeries *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_append, doc_QAbstractBarSeries_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_remove, "remove(self, QBarSet) -> bool");

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

    {
         ::QBarSet* a0;
         ::QAbstractBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QAbstractBarSeries, &sipCpp, sipType_QBarSet, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->remove(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_remove, doc_QAbstractBarSeries_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_insert, "insert(self, int, QBarSet) -> bool");

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

    {
        int a0;
         ::QBarSet* a1;
         ::QAbstractBarSeries *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_insert, doc_QAbstractBarSeries_insert);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_count, doc_QAbstractBarSeries_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_barSets, "barSets(self) -> List[QBarSet]");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = new QList< ::QBarSet*>(sipCpp->barSets());

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

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_barSets, doc_QAbstractBarSeries_barSets);

    return SIP_NULLPTR;
}


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

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

    {
         ::QAbstractBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_clear, doc_QAbstractBarSeries_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_setLabelsVisible, "setLabelsVisible(self, visible: bool = True)");

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

    {
        bool a0 = 1;
         ::QAbstractBarSeries *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_QAbstractBarSeries, &sipCpp, &a0))
        {
            sipCpp->setLabelsVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setLabelsVisible, doc_QAbstractBarSeries_setLabelsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_isLabelsVisible, "isLabelsVisible(self) -> bool");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->isLabelsVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_isLabelsVisible, doc_QAbstractBarSeries_isLabelsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_take, "take(self, QBarSet) -> bool");

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

    {
         ::QBarSet* a0;
         ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->take(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_take, doc_QAbstractBarSeries_take);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_setLabelsFormat, "setLabelsFormat(self, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAbstractBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractBarSeries, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->setLabelsFormat(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setLabelsFormat, doc_QAbstractBarSeries_setLabelsFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_labelsFormat, "labelsFormat(self) -> str");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = new  ::QString(sipCpp->labelsFormat());

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

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_labelsFormat, doc_QAbstractBarSeries_labelsFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_setLabelsPosition, "setLabelsPosition(self, QAbstractBarSeries.LabelsPosition)");

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

    {
         ::QAbstractBarSeries::LabelsPosition a0;
         ::QAbstractBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractBarSeries, &sipCpp, sipType_QAbstractBarSeries_LabelsPosition, &a0))
        {
            sipCpp->setLabelsPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setLabelsPosition, doc_QAbstractBarSeries_setLabelsPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_labelsPosition, "labelsPosition(self) -> QAbstractBarSeries.LabelsPosition");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsPosition();

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

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_labelsPosition, doc_QAbstractBarSeries_labelsPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_setLabelsAngle, "setLabelsAngle(self, float)");

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

    {
         ::qreal a0;
         ::QAbstractBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setLabelsAngle, doc_QAbstractBarSeries_setLabelsAngle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_labelsAngle, "labelsAngle(self) -> float");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_labelsAngle, doc_QAbstractBarSeries_labelsAngle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_setLabelsPrecision, "setLabelsPrecision(self, int)");

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

    {
        int a0;
         ::QAbstractBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_setLabelsPrecision, doc_QAbstractBarSeries_setLabelsPrecision);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QAbstractBarSeries_labelsPrecision, "labelsPrecision(self) -> int");

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

    {
        const  ::QAbstractBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsPrecision();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractBarSeries, sipName_labelsPrecision, doc_QAbstractBarSeries_labelsPrecision);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QAbstractBarSeries___len__(PyObject *);}
static Py_ssize_t slot_QAbstractBarSeries___len__(PyObject *sipSelf)
{
     ::QAbstractBarSeries *sipCpp = reinterpret_cast< ::QAbstractBarSeries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractBarSeries));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QAbstractBarSeries)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QAbstractSeries)->ctd_cast(static_cast< ::QAbstractSeries *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


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

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


extern "C" {static void dealloc_QAbstractBarSeries(sipSimpleWrapper *);}
static void dealloc_QAbstractBarSeries(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractBarSeries(sipGetAddress(sipSelf), 0);
    }
}


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


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


static PyMethodDef methods_QAbstractBarSeries[] = {
    {sipName_append, meth_QAbstractBarSeries_append, METH_VARARGS, doc_QAbstractBarSeries_append},
    {sipName_barSets, meth_QAbstractBarSeries_barSets, METH_VARARGS, doc_QAbstractBarSeries_barSets},
    {sipName_barWidth, meth_QAbstractBarSeries_barWidth, METH_VARARGS, doc_QAbstractBarSeries_barWidth},
    {sipName_clear, meth_QAbstractBarSeries_clear, METH_VARARGS, doc_QAbstractBarSeries_clear},
    {sipName_count, meth_QAbstractBarSeries_count, METH_VARARGS, doc_QAbstractBarSeries_count},
    {sipName_insert, meth_QAbstractBarSeries_insert, METH_VARARGS, doc_QAbstractBarSeries_insert},
    {sipName_isLabelsVisible, meth_QAbstractBarSeries_isLabelsVisible, METH_VARARGS, doc_QAbstractBarSeries_isLabelsVisible},
    {sipName_labelsAngle, meth_QAbstractBarSeries_labelsAngle, METH_VARARGS, doc_QAbstractBarSeries_labelsAngle},
    {sipName_labelsFormat, meth_QAbstractBarSeries_labelsFormat, METH_VARARGS, doc_QAbstractBarSeries_labelsFormat},
    {sipName_labelsPosition, meth_QAbstractBarSeries_labelsPosition, METH_VARARGS, doc_QAbstractBarSeries_labelsPosition},
    {sipName_labelsPrecision, meth_QAbstractBarSeries_labelsPrecision, METH_VARARGS, doc_QAbstractBarSeries_labelsPrecision},
    {sipName_remove, meth_QAbstractBarSeries_remove, METH_VARARGS, doc_QAbstractBarSeries_remove},
    {sipName_setBarWidth, meth_QAbstractBarSeries_setBarWidth, METH_VARARGS, doc_QAbstractBarSeries_setBarWidth},
    {sipName_setLabelsAngle, meth_QAbstractBarSeries_setLabelsAngle, METH_VARARGS, doc_QAbstractBarSeries_setLabelsAngle},
    {sipName_setLabelsFormat, meth_QAbstractBarSeries_setLabelsFormat, METH_VARARGS, doc_QAbstractBarSeries_setLabelsFormat},
    {sipName_setLabelsPosition, meth_QAbstractBarSeries_setLabelsPosition, METH_VARARGS, doc_QAbstractBarSeries_setLabelsPosition},
    {sipName_setLabelsPrecision, meth_QAbstractBarSeries_setLabelsPrecision, METH_VARARGS, doc_QAbstractBarSeries_setLabelsPrecision},
    {sipName_setLabelsVisible, SIP_MLMETH_CAST(meth_QAbstractBarSeries_setLabelsVisible), METH_VARARGS|METH_KEYWORDS, doc_QAbstractBarSeries_setLabelsVisible},
    {sipName_take, meth_QAbstractBarSeries_take, METH_VARARGS, doc_QAbstractBarSeries_take}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QAbstractBarSeries[] = {
    {sipName_LabelsCenter, static_cast<int>( ::QAbstractBarSeries::LabelsCenter)},
    {sipName_LabelsInsideEnd, static_cast<int>( ::QAbstractBarSeries::LabelsInsideEnd)},
    {sipName_LabelsInsideBase, static_cast<int>( ::QAbstractBarSeries::LabelsInsideBase)},
    {sipName_LabelsOutsideEnd, static_cast<int>( ::QAbstractBarSeries::LabelsOutsideEnd)},
    {0, 0}
};


/* Define this type's signals. */
static const pyqt6QtSignal signals_QAbstractBarSeries[] = {
    {"labelsPrecisionChanged(int)", "\1labelsPrecisionChanged(self, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsAngleChanged(qreal)", "\1labelsAngleChanged(self, float)", SIP_NULLPTR, SIP_NULLPTR},
    {"doubleClicked(int,QBarSet*)", "\1doubleClicked(self, int, QBarSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"released(int,QBarSet*)", "\1released(self, int, QBarSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed(int,QBarSet*)", "\1pressed(self, int, QBarSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsPositionChanged(QAbstractBarSeries::LabelsPosition)", "\1labelsPositionChanged(self, QAbstractBarSeries.LabelsPosition)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsFormatChanged(QString)", "\1labelsFormatChanged(self, str)", SIP_NULLPTR, SIP_NULLPTR},
    {"barsetsRemoved(QList<QBarSet*>)", "\1barsetsRemoved(self, Iterable[QBarSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"barsetsAdded(QList<QBarSet*>)", "\1barsetsAdded(self, Iterable[QBarSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsVisibleChanged()", "\1labelsVisibleChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"countChanged()", "\1countChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool,int,QBarSet*)", "\1hovered(self, bool, int, QBarSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked(int,QBarSet*)", "\1clicked(self, int, QBarSet)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QAbstractBarSeries = {
    & ::QAbstractBarSeries::staticMetaObject,
    signals_QAbstractBarSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QAbstractBarSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractBarSeries,
        SIP_NULLPTR,
        &plugin_QAbstractBarSeries
    },
    {
        sipNameNr_QAbstractBarSeries,
        {0, 0, 1},
        19, methods_QAbstractBarSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QAbstractBarSeries, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QAbstractBarSeries,
    slots_QAbstractBarSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QAbstractBarSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QAbstractBarSeries,
    cast_QAbstractBarSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
