/*
 * Interface wrapper code.
 *
 * Generated by SIP 4.19.6
 */

#include "sipAPIKWidgetsAddons.h"

#include <kpixmapsequenceoverlaypainter.h>

#include <qobject.h>
#include <kpixmapsequence.h>
#include <qcoreevent.h>
#include <qpoint.h>
#include <qnamespace.h>
#include <qrect.h>
#include <qwidget.h>
#include <qmetaobject.h>
#include <qcoreevent.h>
#include <qcoreevent.h>
#include <qstring.h>
#include <qvariant.h>
#include <qlist.h>
#include <qbytearray.h>
#include <qlist.h>
#include <qnamespace.h>
#include <qthread.h>
#include <qnamespace.h>
#include <qregexp.h>
#include <qregularexpression.h>
#include <qobjectdefs.h>


class sipKPixmapSequenceOverlayPainter : public  ::KPixmapSequenceOverlayPainter
{
public:
    sipKPixmapSequenceOverlayPainter( ::QObject*);
    sipKPixmapSequenceOverlayPainter(const  ::KPixmapSequence&, ::QObject*);
    virtual ~sipKPixmapSequenceOverlayPainter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    bool sipProtectVirt_eventFilter(bool, ::QObject*, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipKPixmapSequenceOverlayPainter::sipKPixmapSequenceOverlayPainter( ::QObject*a0):  ::KPixmapSequenceOverlayPainter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapSequenceOverlayPainter::sipKPixmapSequenceOverlayPainter(const  ::KPixmapSequence& a0, ::QObject*a1):  ::KPixmapSequenceOverlayPainter(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapSequenceOverlayPainter::~sipKPixmapSequenceOverlayPainter()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKPixmapSequenceOverlayPainter::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_KWidgetsAddons_qt_metaobject(sipPySelf,sipType_KPixmapSequenceOverlayPainter);

    return  ::KPixmapSequenceOverlayPainter::metaObject();
}

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

    if (_id >= 0)
        _id = sip_KWidgetsAddons_qt_metacall(sipPySelf,sipType_KPixmapSequenceOverlayPainter,_c,_id,_a);

    return _id;
}

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

    return (sip_KWidgetsAddons_qt_metacast(sipPySelf, sipType_KPixmapSequenceOverlayPainter, _clname, &sipCpp) ? sipCpp :  ::KPixmapSequenceOverlayPainter::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_KWidgetsAddons_31(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_KWidgetsAddons_33(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_34(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_7(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_35(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_KWidgetsAddons_35(sipGILState, sipImportedVirtErrorHandlers_KWidgetsAddons_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipKPixmapSequenceOverlayPainter::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipKPixmapSequenceOverlayPainter::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipKPixmapSequenceOverlayPainter::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKPixmapSequenceOverlayPainter::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipKPixmapSequenceOverlayPainter::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipKPixmapSequenceOverlayPainter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKPixmapSequenceOverlayPainter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipKPixmapSequenceOverlayPainter::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipKPixmapSequenceOverlayPainter::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipKPixmapSequenceOverlayPainter::sipProtectVirt_eventFilter(bool sipSelfWasArg, ::QObject*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::KPixmapSequenceOverlayPainter::eventFilter(a0,a1) : eventFilter(a0,a1));
}


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

    {
        const sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
             ::QObject*sipRes = 0;

        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_sender, NULL);

    return NULL;
}


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

    {
        PyObject * a0;
        const sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        const sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_senderSignalIndex, NULL);

    return NULL;
}


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

    {
        const  ::QMetaMethod* a0;
        const sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_isSignalConnected, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequenceOverlayPainter *sipCpp;

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

            sipRes = new  ::KPixmapSequence(sipCpp->sequence());

            return sipConvertFromNewType(sipRes,sipType_KPixmapSequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_sequence, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequenceOverlayPainter *sipCpp;

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

            sipRes = sipCpp->interval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_interval, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequenceOverlayPainter *sipCpp;

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

            sipRes = new  ::QRect(sipCpp->rect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_rect, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_alignment, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequenceOverlayPainter *sipCpp;

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

            sipRes = new  ::QPoint(sipCpp->offset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_offset, NULL);

    return NULL;
}


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

    {
        const  ::KPixmapSequence* a0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_KPixmapSequence, &a0))
        {
            sipCpp->setSequence(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setSequence, NULL);

    return NULL;
}


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

    {
        int a0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setInterval, NULL);

    return NULL;
}


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

    {
         ::QWidget* a0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setWidget, NULL);

    return NULL;
}


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

    {
        const  ::QRect* a0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setRect, NULL);

    return NULL;
}


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

    {
         ::Qt::Alignment* a0;
        int a0State = 0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setAlignment, NULL);

    return NULL;
}


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

    {
        const  ::QPoint* a0;
         ::KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setOffset(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setOffset, NULL);

    return NULL;
}


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

    {
         ::KPixmapSequenceOverlayPainter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_start, NULL);

    return NULL;
}


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

    {
         ::KPixmapSequenceOverlayPainter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_stop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
        sipKPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_eventFilter, NULL);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


extern "C" {static void dealloc_KPixmapSequenceOverlayPainter(sipSimpleWrapper *);}
static void dealloc_KPixmapSequenceOverlayPainter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPixmapSequenceOverlayPainter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


extern "C" {static void *init_type_KPixmapSequenceOverlayPainter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapSequenceOverlayPainter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPixmapSequenceOverlayPainter *sipCpp = 0;

    {
         ::QObject* a0 = nullptr;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipKPixmapSequenceOverlayPainter(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KPixmapSequence* a0;
         ::QObject* a1 = nullptr;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_KPixmapSequence, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipKPixmapSequenceOverlayPainter(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KPixmapSequenceOverlayPainter[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_KPixmapSequenceOverlayPainter_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_KPixmapSequenceOverlayPainter_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_KPixmapSequenceOverlayPainter_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_KPixmapSequenceOverlayPainter_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_KPixmapSequenceOverlayPainter_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_KPixmapSequenceOverlayPainter_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_interval), meth_KPixmapSequenceOverlayPainter_interval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_KPixmapSequenceOverlayPainter_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_KPixmapSequenceOverlayPainter_offset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_KPixmapSequenceOverlayPainter_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_KPixmapSequenceOverlayPainter_rect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_KPixmapSequenceOverlayPainter_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_KPixmapSequenceOverlayPainter_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sequence), meth_KPixmapSequenceOverlayPainter_sequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KPixmapSequenceOverlayPainter_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInterval), meth_KPixmapSequenceOverlayPainter_setInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_KPixmapSequenceOverlayPainter_setOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRect), meth_KPixmapSequenceOverlayPainter_setRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSequence), meth_KPixmapSequenceOverlayPainter_setSequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_KPixmapSequenceOverlayPainter_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KPixmapSequenceOverlayPainter_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KPixmapSequenceOverlayPainter_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_KPixmapSequenceOverlayPainter_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


static pyqt5ClassPluginDef plugin_KPixmapSequenceOverlayPainter = {
    & ::KPixmapSequenceOverlayPainter::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_KWidgetsAddons_KPixmapSequenceOverlayPainter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_KPixmapSequenceOverlayPainter,
        {0},
        &plugin_KPixmapSequenceOverlayPainter
    },
    {
        sipNameNr_KPixmapSequenceOverlayPainter,
        {0, 0, 1},
        23, methods_KPixmapSequenceOverlayPainter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPixmapSequenceOverlayPainter,
    0,
    init_type_KPixmapSequenceOverlayPainter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapSequenceOverlayPainter,
    0,
    0,
    0,
    release_KPixmapSequenceOverlayPainter,
    cast_KPixmapSequenceOverlayPainter,
    0,
    0,
    0,
    0,
    0,
    0
};
