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

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


PyDoc_STRVAR(doc_QLegendMarker_type, "type(self) -> QLegendMarker.LegendMarkerType");

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

    {
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLegendMarker, &sipCpp))
        {
             ::QLegendMarker::LegendMarkerType sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLegendMarker, sipName_type);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->type();

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_type, doc_QLegendMarker_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_label, "label(self) -> str");

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

    {
        const  ::QLegendMarker *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_label, doc_QLegendMarker_label);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setLabel, "setLabel(self, str)");

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setLabel, doc_QLegendMarker_setLabel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_labelBrush, "labelBrush(self) -> QBrush");

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

    {
        const  ::QLegendMarker *sipCpp;

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

            sipRes = new  ::QBrush(sipCpp->labelBrush());

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_labelBrush, doc_QLegendMarker_labelBrush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setLabelBrush, "setLabelBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QBrush* a0;
        int a0State = 0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLegendMarker, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setLabelBrush(*a0);
            sipReleaseType(const_cast< ::QBrush *>(a0), sipType_QBrush, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setLabelBrush, doc_QLegendMarker_setLabelBrush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_font, "font(self) -> QFont");

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

    {
        const  ::QLegendMarker *sipCpp;

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

            sipRes = new  ::QFont(sipCpp->font());

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_font, doc_QLegendMarker_font);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setFont, "setFont(self, QFont)");

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

    {
        const  ::QFont* a0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLegendMarker, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setFont, doc_QLegendMarker_setFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_pen, "pen(self) -> QPen");

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

    {
        const  ::QLegendMarker *sipCpp;

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

            sipRes = new  ::QPen(sipCpp->pen());

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_pen, doc_QLegendMarker_pen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setPen, "setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QPen* a0;
        int a0State = 0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLegendMarker, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            sipCpp->setPen(*a0);
            sipReleaseType(const_cast< ::QPen *>(a0), sipType_QPen, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setPen, doc_QLegendMarker_setPen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_brush, "brush(self) -> QBrush");

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

    {
        const  ::QLegendMarker *sipCpp;

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

            sipRes = new  ::QBrush(sipCpp->brush());

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_brush, doc_QLegendMarker_brush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setBrush, "setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QBrush* a0;
        int a0State = 0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLegendMarker, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBrush(*a0);
            sipReleaseType(const_cast< ::QBrush *>(a0), sipType_QBrush, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setBrush, doc_QLegendMarker_setBrush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_isVisible, "isVisible(self) -> bool");

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

    {
        const  ::QLegendMarker *sipCpp;

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

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_isVisible, doc_QLegendMarker_isVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setVisible, "setVisible(self, bool)");

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

    {
        bool a0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLegendMarker, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setVisible, doc_QLegendMarker_setVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_series, "series(self) -> QAbstractSeries");

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

    {
         ::QLegendMarker *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLegendMarker, sipName_series);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->series();

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_series, doc_QLegendMarker_series);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_shape, "shape(self) -> QLegend.MarkerShape");

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

    {
        const  ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLegendMarker, &sipCpp))
        {
             ::QLegend::MarkerShape sipRes;

            sipRes = sipCpp->shape();

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

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_shape, doc_QLegendMarker_shape);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QLegendMarker_setShape, "setShape(self, QLegend.MarkerShape)");

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

    {
         ::QLegend::MarkerShape a0;
         ::QLegendMarker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLegendMarker, &sipCpp, sipType_QLegend_MarkerShape, &a0))
        {
            sipCpp->setShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QLegendMarker, sipName_setShape, doc_QLegendMarker_setShape);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QLegendMarker)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


static PyMethodDef methods_QLegendMarker[] = {
    {sipName_brush, meth_QLegendMarker_brush, METH_VARARGS, doc_QLegendMarker_brush},
    {sipName_font, meth_QLegendMarker_font, METH_VARARGS, doc_QLegendMarker_font},
    {sipName_isVisible, meth_QLegendMarker_isVisible, METH_VARARGS, doc_QLegendMarker_isVisible},
    {sipName_label, meth_QLegendMarker_label, METH_VARARGS, doc_QLegendMarker_label},
    {sipName_labelBrush, meth_QLegendMarker_labelBrush, METH_VARARGS, doc_QLegendMarker_labelBrush},
    {sipName_pen, meth_QLegendMarker_pen, METH_VARARGS, doc_QLegendMarker_pen},
    {sipName_series, meth_QLegendMarker_series, METH_VARARGS, doc_QLegendMarker_series},
    {sipName_setBrush, meth_QLegendMarker_setBrush, METH_VARARGS, doc_QLegendMarker_setBrush},
    {sipName_setFont, meth_QLegendMarker_setFont, METH_VARARGS, doc_QLegendMarker_setFont},
    {sipName_setLabel, meth_QLegendMarker_setLabel, METH_VARARGS, doc_QLegendMarker_setLabel},
    {sipName_setLabelBrush, meth_QLegendMarker_setLabelBrush, METH_VARARGS, doc_QLegendMarker_setLabelBrush},
    {sipName_setPen, meth_QLegendMarker_setPen, METH_VARARGS, doc_QLegendMarker_setPen},
    {sipName_setShape, meth_QLegendMarker_setShape, METH_VARARGS, doc_QLegendMarker_setShape},
    {sipName_setVisible, meth_QLegendMarker_setVisible, METH_VARARGS, doc_QLegendMarker_setVisible},
    {sipName_shape, meth_QLegendMarker_shape, METH_VARARGS, doc_QLegendMarker_shape},
    {sipName_type, meth_QLegendMarker_type, METH_VARARGS, doc_QLegendMarker_type}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QLegendMarker[] = {
    {sipName_LegendMarkerTypeArea, static_cast<int>( ::QLegendMarker::LegendMarkerTypeArea)},
    {sipName_LegendMarkerTypeBar, static_cast<int>( ::QLegendMarker::LegendMarkerTypeBar)},
    {sipName_LegendMarkerTypePie, static_cast<int>( ::QLegendMarker::LegendMarkerTypePie)},
    {sipName_LegendMarkerTypeXY, static_cast<int>( ::QLegendMarker::LegendMarkerTypeXY)},
    {sipName_LegendMarkerTypeBoxPlot, static_cast<int>( ::QLegendMarker::LegendMarkerTypeBoxPlot)},
    {sipName_LegendMarkerTypeCandlestick, static_cast<int>( ::QLegendMarker::LegendMarkerTypeCandlestick)},
    {0, 0}
};


/* Define this type's signals. */
static const pyqt6QtSignal signals_QLegendMarker[] = {
    {"shapeChanged()", "\1shapeChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"visibleChanged()", "\1visibleChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"brushChanged()", "\1brushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"penChanged()", "\1penChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"fontChanged()", "\1fontChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelBrushChanged()", "\1labelBrushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelChanged()", "\1labelChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool)", "\1hovered(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked()", "\1clicked(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QLegendMarker = {
    & ::QLegendMarker::staticMetaObject,
    signals_QLegendMarker,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QLegendMarker = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLegendMarker,
        SIP_NULLPTR,
        &plugin_QLegendMarker
    },
    {
        sipNameNr_QLegendMarker,
        {0, 0, 1},
        16, methods_QLegendMarker,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QLegendMarker, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QLegendMarker,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QLegendMarker,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QLegendMarker,
    cast_QLegendMarker,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
