/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * 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 "sipAPIQtWidgets.h"

#line 68 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 29 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 36 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 81 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qvectornd.sip"
#include <qvectornd.h>
#line 39 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 44 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 49 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 55 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 64 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 67 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 70 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 73 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 76 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 79 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 82 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 85 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQGraphicsRotation.cpp"


class sipQGraphicsRotation : public  ::QGraphicsRotation
{
public:
    sipQGraphicsRotation( ::QObject*);
    virtual ~sipQGraphicsRotation();

    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:
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    void applyTo( ::QMatrix4x4*) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsRotation(const sipQGraphicsRotation &);
    sipQGraphicsRotation &operator = (const sipQGraphicsRotation &);

    char sipPyMethods[8];
};

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

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

const QMetaObject *sipQGraphicsRotation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsRotation);

    return  ::QGraphicsRotation::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsRotation, _clname, &sipCpp) ? sipCpp :  ::QGraphicsRotation::qt_metacast(_clname));
}

void sipQGraphicsRotation::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::customEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::childEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsRotation::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsRotation::eventFilter(a0,a1);

    extern bool sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

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

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

    if (!sipMeth)
        return  ::QGraphicsRotation::event(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::applyTo( ::QMatrix4x4*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsRotation::applyTo(a0);
        return;
    }

    extern void sipVH_QtWidgets_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMatrix4x4*);

    sipVH_QtWidgets_157(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QGraphicsRotation_origin, "origin(self) -> QVector3D");

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

    {
        const  ::QGraphicsRotation *sipCpp;

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

            sipRes = new  ::QVector3D(sipCpp->origin());

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

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_origin, doc_QGraphicsRotation_origin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setOrigin, "setOrigin(self, QVector3D)");

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

    {
        const  ::QVector3D* a0;
         ::QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QVector3D, &a0))
        {
            sipCpp->setOrigin(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setOrigin, doc_QGraphicsRotation_setOrigin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_angle, "angle(self) -> float");

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

    {
        const  ::QGraphicsRotation *sipCpp;

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

            sipRes = sipCpp->angle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_angle, doc_QGraphicsRotation_angle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setAngle, "setAngle(self, float)");

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

    {
         ::qreal a0;
         ::QGraphicsRotation *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setAngle, doc_QGraphicsRotation_setAngle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_axis, "axis(self) -> QVector3D");

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

    {
        const  ::QGraphicsRotation *sipCpp;

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

            sipRes = new  ::QVector3D(sipCpp->axis());

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

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_axis, doc_QGraphicsRotation_axis);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setAxis, "setAxis(self, QVector3D)\n"
"setAxis(self, Qt.Axis)");

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

    {
        const  ::QVector3D* a0;
         ::QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QVector3D, &a0))
        {
            sipCpp->setAxis(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Qt::Axis a0;
         ::QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_Qt_Axis, &a0))
        {
            sipCpp->setAxis(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setAxis, doc_QGraphicsRotation_setAxis);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGraphicsRotation_applyTo, "applyTo(self, QMatrix4x4)");

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

    {
         ::QMatrix4x4* a0;
        const  ::QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QGraphicsRotation::applyTo(a0) : sipCpp->applyTo(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_applyTo, doc_QGraphicsRotation_applyTo);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QGraphicsRotation)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


extern "C" {static void array_delete_QGraphicsRotation(void *);}
static void array_delete_QGraphicsRotation(void *sipCpp)
{
    delete[] reinterpret_cast< ::QGraphicsRotation *>(sipCpp);
}


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QGraphicsRotation[] = {
    {sipName_angle, meth_QGraphicsRotation_angle, METH_VARARGS, doc_QGraphicsRotation_angle},
    {sipName_applyTo, meth_QGraphicsRotation_applyTo, METH_VARARGS, doc_QGraphicsRotation_applyTo},
    {sipName_axis, meth_QGraphicsRotation_axis, METH_VARARGS, doc_QGraphicsRotation_axis},
    {sipName_origin, meth_QGraphicsRotation_origin, METH_VARARGS, doc_QGraphicsRotation_origin},
    {sipName_setAngle, meth_QGraphicsRotation_setAngle, METH_VARARGS, doc_QGraphicsRotation_setAngle},
    {sipName_setAxis, meth_QGraphicsRotation_setAxis, METH_VARARGS, doc_QGraphicsRotation_setAxis},
    {sipName_setOrigin, meth_QGraphicsRotation_setOrigin, METH_VARARGS, doc_QGraphicsRotation_setOrigin}
};

PyDoc_STRVAR(doc_QGraphicsRotation, "\1QGraphicsRotation(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QGraphicsRotation[] = {
    {"axisChanged()", "\1axisChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"angleChanged()", "\1angleChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"originChanged()", "\1originChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QGraphicsRotation = {
    & ::QGraphicsRotation::staticMetaObject,
    signals_QGraphicsRotation,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWidgets_QGraphicsRotation = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsRotation,
        SIP_NULLPTR,
        &plugin_QGraphicsRotation
    },
    {
        sipNameNr_QGraphicsRotation,
        {0, 0, 1},
        7, methods_QGraphicsRotation,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QGraphicsRotation,
    -1,
    -1,
    supers_QGraphicsRotation,
    SIP_NULLPTR,
    init_type_QGraphicsRotation,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QGraphicsRotation,
    SIP_NULLPTR,
    array_QGraphicsRotation,
    SIP_NULLPTR,
    release_QGraphicsRotation,
    cast_QGraphicsRotation,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QGraphicsRotation,
    sizeof ( ::QGraphicsRotation),
};
