/*
 * 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/qcategoryaxis.sip"
#include <qcategoryaxis.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.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/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 42 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qvalueaxis.sip"
#include <qvalueaxis.h>
#line 45 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 48 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qpen.sip"
#include <qpen.h>
#line 51 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qbrush.sip"
#include <qbrush.h>
#line 54 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qfont.sip"
#include <qfont.h>
#line 57 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 60 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.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 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.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 70 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 73 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 76 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 79 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 82 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 85 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 88 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 91 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 94 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 97 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 100 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 103 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 106 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQCategoryAxis.cpp"


class sipQCategoryAxis : public  ::QCategoryAxis
{
public:
    sipQCategoryAxis( ::QObject*);
    virtual ~sipQCategoryAxis();

    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:
     ::QAbstractAxis::AxisType type() 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:
    sipQCategoryAxis(const sipQCategoryAxis &);
    sipQCategoryAxis &operator = (const sipQCategoryAxis &);

    char sipPyMethods[8];
};

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

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

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

    return  ::QCategoryAxis::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QCategoryAxis, _clname, &sipCpp) ? sipCpp :  ::QCategoryAxis::qt_metacast(_clname));
}

 ::QAbstractAxis::AxisType sipQCategoryAxis::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCategoryAxis::type();

    extern  ::QAbstractAxis::AxisType sipVH_QtCharts_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::QCategoryAxis::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_QCategoryAxis_type, "type(self) -> QAbstractAxis.AxisType");

extern "C" {static PyObject *meth_QCategoryAxis_type(PyObject *, PyObject *);}
static PyObject *meth_QCategoryAxis_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCategoryAxis)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QCategoryAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCategoryAxis, &sipCpp))
        {
             ::QAbstractAxis::AxisType sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QCategoryAxis::type() : sipCpp->type());

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

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_type, doc_QCategoryAxis_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_append, "append(self, str, float)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::qreal a1;
         ::QCategoryAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1d", &sipSelf, sipType_QCategoryAxis, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
            sipCpp->append(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_append, doc_QCategoryAxis_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_remove, "remove(self, str)");

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_remove, doc_QCategoryAxis_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_replaceLabel, "replaceLabel(self, str, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QCategoryAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QCategoryAxis, &sipCpp, sipType_QString, &a0, &a0State, sipType_QString, &a1, &a1State))
        {
            sipCpp->replaceLabel(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_replaceLabel, doc_QCategoryAxis_replaceLabel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_startValue, "startValue(self, categoryLabel: str = '') -> float");

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

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        const  ::QCategoryAxis *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|J1", &sipSelf, sipType_QCategoryAxis, &sipCpp, sipType_QString, &a0, &a0State))
        {
             ::qreal sipRes;

            sipRes = sipCpp->startValue(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_startValue, doc_QCategoryAxis_startValue);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_setStartValue, "setStartValue(self, float)");

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

    {
         ::qreal a0;
         ::QCategoryAxis *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_setStartValue, doc_QCategoryAxis_setStartValue);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_endValue, "endValue(self, str) -> float");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCategoryAxis, &sipCpp, sipType_QString, &a0, &a0State))
        {
             ::qreal sipRes;

            sipRes = sipCpp->endValue(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_endValue, doc_QCategoryAxis_endValue);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_categoriesLabels, "categoriesLabels(self) -> List[str]");

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

    {
         ::QCategoryAxis *sipCpp;

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

            sipRes = new  ::QStringList(sipCpp->categoriesLabels());

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

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_categoriesLabels, doc_QCategoryAxis_categoriesLabels);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QCategoryAxis *sipCpp;

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

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_count, doc_QCategoryAxis_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_labelsPosition, "labelsPosition(self) -> QCategoryAxis.AxisLabelsPosition");

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

    {
        const  ::QCategoryAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCategoryAxis, &sipCpp))
        {
             ::QCategoryAxis::AxisLabelsPosition sipRes;

            sipRes = sipCpp->labelsPosition();

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

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_labelsPosition, doc_QCategoryAxis_labelsPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QCategoryAxis_setLabelsPosition, "setLabelsPosition(self, QCategoryAxis.AxisLabelsPosition)");

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

    {
         ::QCategoryAxis::AxisLabelsPosition a0;
         ::QCategoryAxis *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QCategoryAxis, sipName_setLabelsPosition, doc_QCategoryAxis_setLabelsPosition);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QCategoryAxis___len__(PyObject *);}
static Py_ssize_t slot_QCategoryAxis___len__(PyObject *sipSelf)
{
     ::QCategoryAxis *sipCpp = reinterpret_cast< ::QCategoryAxis *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCategoryAxis));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QCategoryAxis)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


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


static PyMethodDef methods_QCategoryAxis[] = {
    {sipName_append, meth_QCategoryAxis_append, METH_VARARGS, doc_QCategoryAxis_append},
    {sipName_categoriesLabels, meth_QCategoryAxis_categoriesLabels, METH_VARARGS, doc_QCategoryAxis_categoriesLabels},
    {sipName_count, meth_QCategoryAxis_count, METH_VARARGS, doc_QCategoryAxis_count},
    {sipName_endValue, meth_QCategoryAxis_endValue, METH_VARARGS, doc_QCategoryAxis_endValue},
    {sipName_labelsPosition, meth_QCategoryAxis_labelsPosition, METH_VARARGS, doc_QCategoryAxis_labelsPosition},
    {sipName_remove, meth_QCategoryAxis_remove, METH_VARARGS, doc_QCategoryAxis_remove},
    {sipName_replaceLabel, meth_QCategoryAxis_replaceLabel, METH_VARARGS, doc_QCategoryAxis_replaceLabel},
    {sipName_setLabelsPosition, meth_QCategoryAxis_setLabelsPosition, METH_VARARGS, doc_QCategoryAxis_setLabelsPosition},
    {sipName_setStartValue, meth_QCategoryAxis_setStartValue, METH_VARARGS, doc_QCategoryAxis_setStartValue},
    {sipName_startValue, SIP_MLMETH_CAST(meth_QCategoryAxis_startValue), METH_VARARGS|METH_KEYWORDS, doc_QCategoryAxis_startValue},
    {sipName_type, meth_QCategoryAxis_type, METH_VARARGS, doc_QCategoryAxis_type}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QCategoryAxis[] = {
    {sipName_AxisLabelsPositionCenter, static_cast<int>( ::QCategoryAxis::AxisLabelsPositionCenter)},
    {sipName_AxisLabelsPositionOnValue, static_cast<int>( ::QCategoryAxis::AxisLabelsPositionOnValue)},
    {0, 0}
};

PyDoc_STRVAR(doc_QCategoryAxis, "\1QCategoryAxis(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QCategoryAxis[] = {
    {"labelsPositionChanged(QCategoryAxis::AxisLabelsPosition)", "\1labelsPositionChanged(self, QCategoryAxis.AxisLabelsPosition)", SIP_NULLPTR, SIP_NULLPTR},
    {"categoriesChanged()", "\1categoriesChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QCategoryAxis = {
    & ::QCategoryAxis::staticMetaObject,
    signals_QCategoryAxis,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QCategoryAxis = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCategoryAxis,
        SIP_NULLPTR,
        &plugin_QCategoryAxis
    },
    {
        sipNameNr_QCategoryAxis,
        {0, 0, 1},
        11, methods_QCategoryAxis,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QCategoryAxis, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QCategoryAxis,
    -1,
    -1,
    supers_QCategoryAxis,
    slots_QCategoryAxis,
    init_type_QCategoryAxis,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QCategoryAxis,
    SIP_NULLPTR,
    array_QCategoryAxis,
    SIP_NULLPTR,
    release_QCategoryAxis,
    cast_QCategoryAxis,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
