/*
 * Module code.
 *
 * Generated by SIP 4.10.2 on Sun Jul 11 10:11:47 2010
 */

#include "sipAPIplasma.h"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/animationdriver.sip"
#include <plasma/animationdriver.h>
#line 12 "sipplasmapart7.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 19 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 25 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 28 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 46 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 49 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 55 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 58 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 61 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 64 "sipplasmapart7.cpp"


class sipPlasma_AnimationDriver : public Plasma::AnimationDriver
{
public:
    sipPlasma_AnimationDriver(QObject *);
    virtual ~sipPlasma_AnimationDriver();

    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.
     */
    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int animationFps(Plasma::Animator::Animation) const;
    int movementAnimationFps(Plasma::Animator::Movement) const;
    int elementAnimationFps(Plasma::Animator::Animation) const;
    int animationDuration(Plasma::Animator::Animation) const;
    int movementAnimationDuration(Plasma::Animator::Movement) const;
    int elementAnimationDuration(Plasma::Animator::Animation) const;
    Plasma::Animator::CurveShape animationCurve(Plasma::Animator::Animation) const;
    Plasma::Animator::CurveShape movementAnimationCurve(Plasma::Animator::Movement) const;
    Plasma::Animator::CurveShape elementAnimationCurve(Plasma::Animator::Animation) const;
    QPixmap elementAppear(qreal,const QPixmap&);
    QPixmap elementDisappear(qreal,const QPixmap&);
    void itemAppear(qreal,QGraphicsItem *);
    void itemDisappear(qreal,QGraphicsItem *);
    void itemActivated(qreal,QGraphicsItem *);
    void itemSlideIn(qreal,QGraphicsItem *,const QPoint&,const QPoint&);
    void itemSlideOut(qreal,QGraphicsItem *,const QPoint&,const QPoint&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[23];
};

sipPlasma_AnimationDriver::sipPlasma_AnimationDriver(QObject *a0): Plasma::AnimationDriver(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AnimationDriver::~sipPlasma_AnimationDriver()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AnimationDriver::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AnimationDriver);
}

int sipPlasma_AnimationDriver::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AnimationDriver::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AnimationDriver,_c,_id,_a);

    return _id;
}

void *sipPlasma_AnimationDriver::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AnimationDriver,_clname)) ? this : Plasma::AnimationDriver::qt_metacast(_clname);
}

int sipPlasma_AnimationDriver::animationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_animationFps);

    if (!meth)
        return Plasma::AnimationDriver::animationFps(a0);

    extern int sipVH_plasma_27(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_27(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationFps(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_movementAnimationFps);

    if (!meth)
        return Plasma::AnimationDriver::movementAnimationFps(a0);

    extern int sipVH_plasma_28(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_28(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationFps(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_elementAnimationFps);

    if (!meth)
        return Plasma::AnimationDriver::elementAnimationFps(a0);

    extern int sipVH_plasma_27(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_27(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::animationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_animationDuration);

    if (!meth)
        return Plasma::AnimationDriver::animationDuration(a0);

    extern int sipVH_plasma_27(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_27(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationDuration(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_movementAnimationDuration);

    if (!meth)
        return Plasma::AnimationDriver::movementAnimationDuration(a0);

    extern int sipVH_plasma_28(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_28(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationDuration(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_elementAnimationDuration);

    if (!meth)
        return Plasma::AnimationDriver::elementAnimationDuration(a0);

    extern int sipVH_plasma_27(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_27(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::animationCurve(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_animationCurve);

    if (!meth)
        return Plasma::AnimationDriver::animationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_25(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_25(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::movementAnimationCurve(Plasma::Animator::Movement a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_movementAnimationCurve);

    if (!meth)
        return Plasma::AnimationDriver::movementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_26(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    return sipVH_plasma_26(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::elementAnimationCurve(Plasma::Animator::Animation a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_elementAnimationCurve);

    if (!meth)
        return Plasma::AnimationDriver::elementAnimationCurve(a0);

    extern Plasma::Animator::CurveShape sipVH_plasma_25(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    return sipVH_plasma_25(sipGILState,meth,a0);
}

QPixmap sipPlasma_AnimationDriver::elementAppear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_elementAppear);

    if (!meth)
        return Plasma::AnimationDriver::elementAppear(a0,a1);

    extern QPixmap sipVH_plasma_24(sip_gilstate_t,PyObject *,double,const QPixmap&);

    return sipVH_plasma_24(sipGILState,meth,a0,a1);
}

QPixmap sipPlasma_AnimationDriver::elementDisappear(qreal a0,const QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_elementDisappear);

    if (!meth)
        return Plasma::AnimationDriver::elementDisappear(a0,a1);

    extern QPixmap sipVH_plasma_24(sip_gilstate_t,PyObject *,double,const QPixmap&);

    return sipVH_plasma_24(sipGILState,meth,a0,a1);
}

void sipPlasma_AnimationDriver::itemAppear(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_itemAppear);

    if (!meth)
    {
        Plasma::AnimationDriver::itemAppear(a0,a1);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_23(sipGILState,meth,a0,a1);
}

void sipPlasma_AnimationDriver::itemDisappear(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_itemDisappear);

    if (!meth)
    {
        Plasma::AnimationDriver::itemDisappear(a0,a1);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_23(sipGILState,meth,a0,a1);
}

void sipPlasma_AnimationDriver::itemActivated(qreal a0,QGraphicsItem *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_itemActivated);

    if (!meth)
    {
        Plasma::AnimationDriver::itemActivated(a0,a1);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sipVH_plasma_23(sipGILState,meth,a0,a1);
}

void sipPlasma_AnimationDriver::itemSlideIn(qreal a0,QGraphicsItem *a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_itemSlideIn);

    if (!meth)
    {
        Plasma::AnimationDriver::itemSlideIn(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_22(sip_gilstate_t,PyObject *,double,QGraphicsItem *,const QPoint&,const QPoint&);

    sipVH_plasma_22(sipGILState,meth,a0,a1,a2,a3);
}

void sipPlasma_AnimationDriver::itemSlideOut(qreal a0,QGraphicsItem *a1,const QPoint& a2,const QPoint& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_itemSlideOut);

    if (!meth)
    {
        Plasma::AnimationDriver::itemSlideOut(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_22(sip_gilstate_t,PyObject *,double,QGraphicsItem *,const QPoint&,const QPoint&);

    sipVH_plasma_22(sipGILState,meth,a0,a1,a2,a3);
}

bool sipPlasma_AnimationDriver::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AnimationDriver::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipPlasma_AnimationDriver::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AnimationDriver::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AnimationDriver::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AnimationDriver::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipPlasma_AnimationDriver::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AnimationDriver::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


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

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 592 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationFps(a0) : sipCpp->animationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationFps(a0) : sipCpp->movementAnimationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationFps(a0) : sipCpp->elementAnimationFps(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationDuration(a0) : sipCpp->animationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationDuration(a0) : sipCpp->movementAnimationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationDuration(a0) : sipCpp->elementAnimationDuration(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::animationCurve(a0) : sipCpp->animationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Movement a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Movement, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::movementAnimationCurve(a0) : sipCpp->movementAnimationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animator::Animation a0;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, sipType_Plasma_Animator_Animation, &a0))
        {
            Plasma::Animator::CurveShape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAnimationCurve(a0) : sipCpp->elementAnimationCurve(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Animator_CurveShape);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        const QPixmap * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QPixmap, &a1))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementAppear(a0,*a1) : sipCpp->elementAppear(a0,*a1)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qreal a0;
        const QPixmap * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QPixmap, &a1))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::elementDisappear(a0,*a1) : sipCpp->elementDisappear(a0,*a1)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemAppear(a0,a1) : sipCpp->itemAppear(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemDisappear(a0,a1) : sipCpp->itemDisappear(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        QGraphicsItem * a1;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemActivated(a0,a1) : sipCpp->itemActivated(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        QGraphicsItem * a1;
        const QPoint * a2;
        const QPoint * a3;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8J9J9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1, sipType_QPoint, &a2, sipType_QPoint, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemSlideIn(a0,a1,*a2,*a3) : sipCpp->itemSlideIn(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        QGraphicsItem * a1;
        const QPoint * a2;
        const QPoint * a3;
        Plasma::AnimationDriver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ8J9J9", &sipSelf, sipType_Plasma_AnimationDriver, &sipCpp, &a0, sipType_QGraphicsItem, &a1, sipType_QPoint, &a2, sipType_QPoint, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AnimationDriver::itemSlideOut(a0,a1,*a2,*a3) : sipCpp->itemSlideOut(a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AnimationDriver(void *, const sipTypeDef *);}
static void *cast_Plasma_AnimationDriver(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AnimationDriver)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AnimationDriver *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AnimationDriver(void *, int);}
static void release_Plasma_AnimationDriver(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AnimationDriver *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AnimationDriver *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AnimationDriver(sipSimpleWrapper *);}
static void dealloc_Plasma_AnimationDriver(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AnimationDriver *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AnimationDriver(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_AnimationDriver[] = {
    {SIP_MLNAME_CAST(sipName_animationCurve), meth_Plasma_AnimationDriver_animationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animationDuration), meth_Plasma_AnimationDriver_animationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animationFps), meth_Plasma_AnimationDriver_animationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AnimationDriver_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AnimationDriver_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AnimationDriver_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AnimationDriver_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationCurve), meth_Plasma_AnimationDriver_elementAnimationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationDuration), meth_Plasma_AnimationDriver_elementAnimationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAnimationFps), meth_Plasma_AnimationDriver_elementAnimationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAppear), meth_Plasma_AnimationDriver_elementAppear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementDisappear), meth_Plasma_AnimationDriver_elementDisappear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemActivated), meth_Plasma_AnimationDriver_itemActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAppear), meth_Plasma_AnimationDriver_itemAppear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDisappear), meth_Plasma_AnimationDriver_itemDisappear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemSlideIn), meth_Plasma_AnimationDriver_itemSlideIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemSlideOut), meth_Plasma_AnimationDriver_itemSlideOut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationCurve), meth_Plasma_AnimationDriver_movementAnimationCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationDuration), meth_Plasma_AnimationDriver_movementAnimationDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movementAnimationFps), meth_Plasma_AnimationDriver_movementAnimationFps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AnimationDriver_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AnimationDriver_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AnimationDriver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AnimationDriver,
        {0}
    },
    {
        sipNameNr_AnimationDriver,
        {1, 255, 0},
        22, methods_Plasma_AnimationDriver,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AnimationDriver,
    0,
    init_Plasma_AnimationDriver,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AnimationDriver,
    0,
    0,
    0,
    release_Plasma_AnimationDriver,
    cast_Plasma_AnimationDriver,
    0,
    0,
    0
},
    &Plasma::AnimationDriver::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/animation.sip"
#include <plasma/animation.h>
#line 1365 "sipplasmapart7.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1369 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 1372 "sipplasmapart7.cpp"
#line 194 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1375 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 1378 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1381 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 1384 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1387 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1390 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1393 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1396 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1399 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1402 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1405 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1408 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1411 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1414 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1417 "sipplasmapart7.cpp"


class sipPlasma_Animation : public Plasma::Animation
{
public:
    sipPlasma_Animation(QObject *);
    virtual ~sipPlasma_Animation();

    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.
     */
    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_updateState(bool,QAbstractAnimation::State,QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool,QAbstractAnimation::Direction);
    void sipProtectVirt_setDuration(bool,int);
    void sipProtectVirt_updateCurrentTime(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setDuration(int);
    void updateCurrentTime(int);
    int duration() const;
    bool event(QEvent *);
    void updateState(QAbstractAnimation::State,QAbstractAnimation::State);
    void updateDirection(QAbstractAnimation::Direction);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipPlasma_Animation::sipPlasma_Animation(QObject *a0): Plasma::Animation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Animation::~sipPlasma_Animation()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_Animation::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Animation);
}

int sipPlasma_Animation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::Animation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Animation,_c,_id,_a);

    return _id;
}

void *sipPlasma_Animation::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_Animation,_clname)) ? this : Plasma::Animation::qt_metacast(_clname);
}

void sipPlasma_Animation::setDuration(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setDuration);

    if (!meth)
    {
        Plasma::Animation::setDuration(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!meth)
    {
        Plasma::Animation::updateCurrentTime(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

int sipPlasma_Animation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_duration);

    if (!meth)
        return Plasma::Animation::duration();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

bool sipPlasma_Animation::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QAbstractAnimation::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::updateState(QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_updateState);

    if (!meth)
    {
        QAbstractAnimation::updateState(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QAbstractAnimation::State,QAbstractAnimation::State);

    ((sipVH_QtCore_3)(sipModuleAPI_plasma_QtCore->em_virthandlers[3]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Animation::updateDirection(QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_updateDirection);

    if (!meth)
    {
        QAbstractAnimation::updateDirection(a0);
        return;
    }

    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QAbstractAnimation::Direction);

    ((sipVH_QtCore_19)(sipModuleAPI_plasma_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipPlasma_Animation::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_Animation::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipPlasma_Animation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_Animation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipPlasma_Animation::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QAbstractAnimation::event(a0) : event(a0));
}

void sipPlasma_Animation::sipProtectVirt_updateState(bool sipSelfWasArg,QAbstractAnimation::State a0,QAbstractAnimation::State a1)
{
    (sipSelfWasArg ? QAbstractAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipPlasma_Animation::sipProtectVirt_updateDirection(bool sipSelfWasArg,QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ? QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

void sipPlasma_Animation::sipProtectVirt_setDuration(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? Plasma::Animation::setDuration(a0) : setDuration(a0));
}

void sipPlasma_Animation::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? Plasma::Animation::updateCurrentTime(a0) : updateCurrentTime(a0));
}


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

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 1796 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_Animation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QAbstractAnimation::State a0;
        QAbstractAnimation::State a1;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAbstractAnimation::Direction a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Plasma::Animation::duration() : sipCpp->duration());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0 = 250;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDuration(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipPlasma_Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Animation, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsWidget * a0;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            QGraphicsWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->targetWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QEasingCurve * a0;
        int a0State = 0;
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Animation, &sipCpp, sipType_QEasingCurve, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEasingCurve(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Animation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Animation, &sipCpp))
        {
            QEasingCurve *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QEasingCurve(sipCpp->easingCurve());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Animation(void *, const sipTypeDef *);}
static void *cast_Plasma_Animation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_Animation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractAnimation)->ctd_cast((QAbstractAnimation *)(Plasma::Animation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Animation(void *, int);}
static void release_Plasma_Animation(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_Animation *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::Animation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Animation(sipSimpleWrapper *);}
static void dealloc_Plasma_Animation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Animation *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Animation(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_Animation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_Animation_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_Animation_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_Animation_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_Animation_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_Plasma_Animation_duration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_easingCurve), meth_Plasma_Animation_easingCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Animation_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_Animation_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_Plasma_Animation_setDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEasingCurve), meth_Plasma_Animation_setEasingCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetWidget), meth_Plasma_Animation_setTargetWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetWidget), meth_Plasma_Animation_targetWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_Animation_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), meth_Plasma_Animation_updateCurrentTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDirection), meth_Plasma_Animation_updateDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), meth_Plasma_Animation_updateState, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animation[] = {
    {sipName_Center, Plasma::Animation::Center, 11},
    {sipName_Down, Plasma::Animation::Down, 11},
    {sipName_Left, Plasma::Animation::Left, 11},
    {sipName_MoveAny, Plasma::Animation::MoveAny, 10},
    {sipName_MoveDown, Plasma::Animation::MoveDown, 10},
    {sipName_MoveLeft, Plasma::Animation::MoveLeft, 10},
    {sipName_MoveRight, Plasma::Animation::MoveRight, 10},
    {sipName_MoveUp, Plasma::Animation::MoveUp, 10},
    {sipName_Right, Plasma::Animation::Right, 11},
    {sipName_Up, Plasma::Animation::Up, 11},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Animation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animation,
        {0}
    },
    {
        sipNameNr_Animation,
        {1, 255, 0},
        16, methods_Plasma_Animation,
        10, enummembers_Plasma_Animation,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Animation,
    0,
    init_Plasma_Animation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Animation,
    0,
    0,
    0,
    release_Plasma_Animation,
    cast_Plasma_Animation,
    0,
    0,
    0
},
    &Plasma::Animation::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/accessmanager.sip"
#include <plasma/accessmanager.h>
#line 2386 "sipplasmapart7.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/packagemetadata.sip"
#include <plasma/packagemetadata.h>
#line 2390 "sipplasmapart7.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/accessappletjob.sip"
#include <plasma/accessappletjob.h>
#line 2393 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2396 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2399 "sipplasmapart7.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2402 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2405 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2408 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2411 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2414 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2417 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2420 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2423 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2426 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2429 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2432 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2435 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2438 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2441 "sipplasmapart7.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Plasma::AccessManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::AccessManager::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        Plasma::AccessManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AccessManager, &sipCpp, sipType_KUrl, &a0))
        {
            Plasma::AccessAppletJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->accessRemoteApplet(*a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::AccessManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::PackageMetadata>(sipCpp->remoteApplets());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::AccessManager::supportedProtocols());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AccessManager(void *, const sipTypeDef *);}
static void *cast_Plasma_AccessManager(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AccessManager)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AccessManager *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AccessManager(void *, int);}
static void release_Plasma_AccessManager(void *,int)
{
}


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


static PyMethodDef methods_Plasma_AccessManager[] = {
    {SIP_MLNAME_CAST(sipName_accessRemoteApplet), meth_Plasma_AccessManager_accessRemoteApplet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remoteApplets), meth_Plasma_AccessManager_remoteApplets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_AccessManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedProtocols), meth_Plasma_AccessManager_supportedProtocols, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AccessManager[] = {
    {"remoteAppletUnannounced(Plasma::PackageMetadata)", 0, 0},
    {"remoteAppletAnnounced(Plasma::PackageMetadata)", 0, 0},
    {"finished(Plasma::AccessAppletJob *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AccessManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AccessManager,
        {0}
    },
    {
        sipNameNr_AccessManager,
        {1, 255, 0},
        4, methods_Plasma_AccessManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AccessManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_AccessManager,
    cast_Plasma_AccessManager,
    0,
    0,
    0
},
    &Plasma::AccessManager::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AccessManager
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/accessappletjob.sip"
#include <plasma/accessappletjob.h>
#line 2645 "sipplasmapart7.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2649 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2652 "sipplasmapart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 2655 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2658 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2661 "sipplasmapart7.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 2664 "sipplasmapart7.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2667 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2670 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 2673 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2676 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2679 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2682 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2685 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2688 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2691 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2694 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2697 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2700 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2703 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2706 "sipplasmapart7.cpp"


class sipPlasma_AccessAppletJob : public Plasma::AccessAppletJob
{
public:
    sipPlasma_AccessAppletJob(const KUrl&,QObject *);
    virtual ~sipPlasma_AccessAppletJob();

    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.
     */
    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    void sipProtectVirt_start(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void start();
    bool doKill();
    bool doSuspend();
    bool doResume();
    QString errorString() const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipPlasma_AccessAppletJob::sipPlasma_AccessAppletJob(const KUrl& a0,QObject *a1): Plasma::AccessAppletJob(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AccessAppletJob::~sipPlasma_AccessAppletJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AccessAppletJob::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AccessAppletJob);
}

int sipPlasma_AccessAppletJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AccessAppletJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AccessAppletJob,_c,_id,_a);

    return _id;
}

void *sipPlasma_AccessAppletJob::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AccessAppletJob,_clname)) ? this : Plasma::AccessAppletJob::qt_metacast(_clname);
}

void sipPlasma_AccessAppletJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_start);

    if (!meth)
    {
        Plasma::AccessAppletJob::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipPlasma_AccessAppletJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doKill);

    if (!meth)
        return KJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipPlasma_AccessAppletJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_doSuspend);

    if (!meth)
        return KJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipPlasma_AccessAppletJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_doResume);

    if (!meth)
        return KJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

QString sipPlasma_AccessAppletJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_errorString);

    if (!meth)
        return KJob::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_plasma_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipPlasma_AccessAppletJob::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AccessAppletJob::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipPlasma_AccessAppletJob::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AccessAppletJob::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AccessAppletJob::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AccessAppletJob::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipPlasma_AccessAppletJob::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AccessAppletJob::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipPlasma_AccessAppletJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doKill() : doKill());
}

bool sipPlasma_AccessAppletJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipPlasma_AccessAppletJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipPlasma_AccessAppletJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipPlasma_AccessAppletJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipPlasma_AccessAppletJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipPlasma_AccessAppletJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipPlasma_AccessAppletJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipPlasma_AccessAppletJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipPlasma_AccessAppletJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipPlasma_AccessAppletJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipPlasma_AccessAppletJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

void sipPlasma_AccessAppletJob::sipProtectVirt_start(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Plasma::AccessAppletJob::start() : start());
}


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

    {
        char * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 3124 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AccessAppletJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AccessAppletJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AccessAppletJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp))
        {
            Plasma::Applet *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->applet();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_AccessAppletJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AccessAppletJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_start(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AccessAppletJob(void *, const sipTypeDef *);}
static void *cast_Plasma_AccessAppletJob(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AccessAppletJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJob)->ctd_cast((KJob *)(Plasma::AccessAppletJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AccessAppletJob(void *, int);}
static void release_Plasma_AccessAppletJob(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AccessAppletJob *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AccessAppletJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AccessAppletJob(sipSimpleWrapper *);}
static void dealloc_Plasma_AccessAppletJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AccessAppletJob *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AccessAppletJob(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        const KUrl * a0;
        QObject * a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AccessAppletJob[] = {{88, 3, 1}};


static PyMethodDef methods_Plasma_AccessAppletJob[] = {
    {SIP_MLNAME_CAST(sipName_applet), meth_Plasma_AccessAppletJob_applet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AccessAppletJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AccessAppletJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AccessAppletJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AccessAppletJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_Plasma_AccessAppletJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_Plasma_AccessAppletJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_Plasma_AccessAppletJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_Plasma_AccessAppletJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_Plasma_AccessAppletJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_Plasma_AccessAppletJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AccessAppletJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_Plasma_AccessAppletJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_Plasma_AccessAppletJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_Plasma_AccessAppletJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_Plasma_AccessAppletJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_Plasma_AccessAppletJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_Plasma_AccessAppletJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_Plasma_AccessAppletJob_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AccessAppletJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AccessAppletJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AccessAppletJob,
        {0}
    },
    {
        sipNameNr_AccessAppletJob,
        {1, 255, 0},
        20, methods_Plasma_AccessAppletJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AccessAppletJob,
    0,
    init_Plasma_AccessAppletJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AccessAppletJob,
    0,
    0,
    0,
    release_Plasma_AccessAppletJob,
    cast_Plasma_AccessAppletJob,
    0,
    0,
    0
},
    &Plasma::AccessAppletJob::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/abstracttoolbox.sip"
#include <plasma/abstracttoolbox.h>
#line 3813 "sipplasmapart7.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 3817 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 3820 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3823 "sipplasmapart7.cpp"
#line 135 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3826 "sipplasmapart7.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3829 "sipplasmapart7.cpp"
#line 206 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3832 "sipplasmapart7.cpp"
#line 223 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3835 "sipplasmapart7.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3838 "sipplasmapart7.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3841 "sipplasmapart7.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3844 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3847 "sipplasmapart7.cpp"
#line 94 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3850 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3853 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3856 "sipplasmapart7.cpp"
#line 100 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3859 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3862 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 57 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 3867 "sipplasmapart7.cpp"
#line 160 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3870 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3873 "sipplasmapart7.cpp"
#line 1790 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 3876 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3879 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3882 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3885 "sipplasmapart7.cpp"
#line 194 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3888 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3891 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3894 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3897 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3900 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3903 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 3906 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3909 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3912 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3915 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3918 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3921 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3924 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3927 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3930 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3933 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3936 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3939 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3942 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 3945 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3948 "sipplasmapart7.cpp"
#line 1024 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3951 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 3954 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3957 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3960 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3963 "sipplasmapart7.cpp"
#line 86 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3966 "sipplasmapart7.cpp"
#line 60 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3969 "sipplasmapart7.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3972 "sipplasmapart7.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3977 "sipplasmapart7.cpp"
#line 180 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3980 "sipplasmapart7.cpp"
#line 109 "/usr/local/share/py-sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3983 "sipplasmapart7.cpp"
#line 335 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3986 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 3989 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3992 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3995 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3998 "sipplasmapart7.cpp"
#line 988 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4001 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 4004 "sipplasmapart7.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 4007 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4010 "sipplasmapart7.cpp"


class sipPlasma_AbstractToolBox : public Plasma::AbstractToolBox
{
public:
    sipPlasma_AbstractToolBox(Plasma::Containment *);
    virtual ~sipPlasma_AbstractToolBox();

    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.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem *);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent *);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent *);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem *,QEvent *);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent *);
    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_initStyleOption(bool,QStyleOption *) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent *);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent *);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent *);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent *);
    void sipProtectVirt_grabMouseEvent(bool,QEvent *);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent *);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent *);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent *);
    Plasma::Containment * sipProtect_containment() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void addTool(QAction *);
    void removeTool(QAction *);
    bool isShowing() const;
    void setShowing(const bool);
    void setGeometry(const QRectF&);
    void getContentsMargins(qreal *,qreal *,qreal *,qreal *) const;
    int type() const;
    void paint(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    void paintWindowFrame(QPainter *,const QStyleOptionGraphicsItem *,QWidget *);
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void initStyleOption(QStyleOption *) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sceneEvent(QEvent *);
    bool windowFrameEvent(QEvent *);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool event(QEvent *);
    void changeEvent(QEvent *);
    void closeEvent(QCloseEvent *);
    void focusInEvent(QFocusEvent *);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent *);
    void hideEvent(QHideEvent *);
    void moveEvent(QGraphicsSceneMoveEvent *);
    void polishEvent();
    void resizeEvent(QGraphicsSceneResizeEvent *);
    void showEvent(QShowEvent *);
    void hoverMoveEvent(QGraphicsSceneHoverEvent *);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
    void grabMouseEvent(QEvent *);
    void ungrabMouseEvent(QEvent *);
    void grabKeyboardEvent(QEvent *);
    void ungrabKeyboardEvent(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void advance(int);
    bool contains(const QPointF&) const;
    bool collidesWithItem(const QGraphicsItem *,Qt::ItemSelectionMode) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool isObscuredBy(const QGraphicsItem *) const;
    QPainterPath opaqueArea() const;
    void contextMenuEvent(QGraphicsSceneContextMenuEvent *);
    void dragEnterEvent(QGraphicsSceneDragDropEvent *);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent *);
    void dragMoveEvent(QGraphicsSceneDragDropEvent *);
    void dropEvent(QGraphicsSceneDragDropEvent *);
    void hoverEnterEvent(QGraphicsSceneHoverEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *);
    void mousePressEvent(QGraphicsSceneMouseEvent *);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
    bool sceneEventFilter(QGraphicsItem *,QEvent *);
    void wheelEvent(QGraphicsSceneWheelEvent *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[63];
};

sipPlasma_AbstractToolBox::sipPlasma_AbstractToolBox(Plasma::Containment *a0): Plasma::AbstractToolBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AbstractToolBox::~sipPlasma_AbstractToolBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AbstractToolBox::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AbstractToolBox);
}

int sipPlasma_AbstractToolBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AbstractToolBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AbstractToolBox,_c,_id,_a);

    return _id;
}

void *sipPlasma_AbstractToolBox::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AbstractToolBox,_clname)) ? this : Plasma::AbstractToolBox::qt_metacast(_clname);
}

void sipPlasma_AbstractToolBox::addTool(QAction *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_AbstractToolBox,sipName_addTool);

    if (!meth)
        return;

    typedef void (*sipVH_kdeui_46)(sip_gilstate_t,PyObject *,QAction *);

    ((sipVH_kdeui_46)(sipModuleAPI_plasma_kdeui->em_virthandlers[46]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::removeTool(QAction *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_AbstractToolBox,sipName_removeTool);

    if (!meth)
        return;

    typedef void (*sipVH_kdeui_46)(sip_gilstate_t,PyObject *,QAction *);

    ((sipVH_kdeui_46)(sipModuleAPI_plasma_kdeui->em_virthandlers[46]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::isShowing() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_AbstractToolBox,sipName_isShowing);

    if (!meth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_plasma_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipPlasma_AbstractToolBox::setShowing(const bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_AbstractToolBox,sipName_setShowing);

    if (!meth)
        return;

    extern void sipVH_plasma_29(sip_gilstate_t,PyObject *,const bool);

    sipVH_plasma_29(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setGeometry);

    if (!meth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_137)(sip_gilstate_t,PyObject *,const QRectF&);

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::getContentsMargins(qreal *a0,qreal *a1,qreal *a2,qreal *a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!meth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_197)(sip_gilstate_t,PyObject *,double *,double *,double *,double *);

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILState,meth,a0,a1,a2,a3);
}

int sipPlasma_AbstractToolBox::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return QGraphicsWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipPlasma_AbstractToolBox::paint(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,meth,a0,a1,a2);
}

void sipPlasma_AbstractToolBox::paintWindowFrame(QPainter *a0,const QStyleOptionGraphicsItem *a1,QWidget *a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!meth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_196)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionGraphicsItem *,QWidget *);

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(sipGILState,meth,a0,a1,a2);
}

QRectF sipPlasma_AbstractToolBox::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_boundingRect);

    if (!meth)
        return QGraphicsWidget::boundingRect();

    typedef QRectF (*sipVH_QtGui_195)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState,meth);
}

QPainterPath sipPlasma_AbstractToolBox::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_shape);

    if (!meth)
        return QGraphicsWidget::shape();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

void sipPlasma_AbstractToolBox::initStyleOption(QStyleOption *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    typedef void (*sipVH_QtGui_193)(sip_gilstate_t,PyObject *,QStyleOption *);

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState,meth,a0);
}

QSizeF sipPlasma_AbstractToolBox::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QGraphicsWidget::sizeHint(a0,a1);

    typedef QSizeF (*sipVH_QtGui_192)(sip_gilstate_t,PyObject *,Qt::SizeHint,const QSizeF&);

    return ((sipVH_QtGui_192)(sipModuleAPI_plasma_QtGui->em_virthandlers[192]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AbstractToolBox::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_updateGeometry);

    if (!meth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

QVariant sipPlasma_AbstractToolBox::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_itemChange);

    if (!meth)
        return QGraphicsWidget::itemChange(a0,a1);

    typedef QVariant (*sipVH_QtGui_191)(sip_gilstate_t,PyObject *,QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtGui_191)(sipModuleAPI_plasma_QtGui->em_virthandlers[191]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_AbstractToolBox::sceneEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_sceneEvent);

    if (!meth)
        return QGraphicsWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::windowFrameEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!meth)
        return QGraphicsWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

Qt::WindowFrameSection sipPlasma_AbstractToolBox::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!meth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    typedef Qt::WindowFrameSection (*sipVH_QtGui_190)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_190)(sipModuleAPI_plasma_QtGui->em_virthandlers[190]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QGraphicsWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QGraphicsWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_plasma_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::moveEvent(QGraphicsSceneMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_189)(sip_gilstate_t,PyObject *,QGraphicsSceneMoveEvent *);

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_polishEvent);

    if (!meth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipPlasma_AbstractToolBox::resizeEvent(QGraphicsSceneResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QGraphicsWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_188)(sip_gilstate_t,PyObject *,QGraphicsSceneResizeEvent *);

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::hoverMoveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!meth)
    {
        QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::grabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::ungrabMouseEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::grabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::ungrabKeyboardEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!meth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AbstractToolBox::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_advance);

    if (!meth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_contains);

    if (!meth)
        return QGraphicsItem::contains(a0);

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t,PyObject *,const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::collidesWithItem(const QGraphicsItem *a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!meth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t,PyObject *,const QGraphicsItem *,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_AbstractToolBox::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!meth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    typedef bool (*sipVH_QtGui_209)(sip_gilstate_t,PyObject *,const QPainterPath&,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState,meth,a0,a1);
}

bool sipPlasma_AbstractToolBox::isObscuredBy(const QGraphicsItem *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!meth)
        return QGraphicsItem::isObscuredBy(a0);

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t,PyObject *,const QGraphicsItem *);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState,meth,a0);
}

QPainterPath sipPlasma_AbstractToolBox::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_opaqueArea);

    if (!meth)
        return QGraphicsItem::opaqueArea();

    typedef QPainterPath (*sipVH_QtGui_194)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState,meth);
}

void sipPlasma_AbstractToolBox::contextMenuEvent(QGraphicsSceneContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t,PyObject *,QGraphicsSceneContextMenuEvent *);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::dragEnterEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::dragLeaveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::dragMoveEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::dropEvent(QGraphicsSceneDragDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t,PyObject *,QGraphicsSceneDragDropEvent *);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::hoverEnterEvent(QGraphicsSceneHoverEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!meth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_187)(sip_gilstate_t,PyObject *,QGraphicsSceneHoverEvent *);

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QVariant sipPlasma_AbstractToolBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QGraphicsItem::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::mouseMoveEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QGraphicsItem::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::mousePressEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::mouseReleaseEvent(QGraphicsSceneMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t,PyObject *,QGraphicsSceneMouseEvent *);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractToolBox::sceneEventFilter(QGraphicsItem *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!meth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t,PyObject *,QGraphicsItem *,QEvent *);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AbstractToolBox::wheelEvent(QGraphicsSceneWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t,PyObject *,QGraphicsSceneWheelEvent *);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractToolBox::sipProtect_setGraphicsItem(QGraphicsItem *a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipPlasma_AbstractToolBox::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipPlasma_AbstractToolBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipPlasma_AbstractToolBox::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipPlasma_AbstractToolBox::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent *a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

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

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

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

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

void sipPlasma_AbstractToolBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption *a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipPlasma_AbstractToolBox::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipPlasma_AbstractToolBox::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipPlasma_AbstractToolBox::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipPlasma_AbstractToolBox::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipPlasma_AbstractToolBox::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipPlasma_AbstractToolBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipPlasma_AbstractToolBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipPlasma_AbstractToolBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipPlasma_AbstractToolBox::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

Plasma::Containment * sipPlasma_AbstractToolBox::sipProtect_containment() const
{
    return Plasma::AbstractToolBox::containment();
}


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

    {
        QGraphicsItem * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setGraphicsItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOwnedByLayout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneContextMenuEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneDragDropEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::InputMethodQuery a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMouseEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem * a0;
        QEvent * a1;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneWheelEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 6066 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QStyleOption * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QStyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF * a1 = &a1def;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J9", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant * a1;
        int a1State = 0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

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

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QPointF * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QPointF, &a0))
        {
            Qt::WindowFrameSection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneMoveEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneResizeEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QGraphicsSceneHoverEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAction * a0;
        Plasma::AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QAction, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AbstractToolBox, sipName_addTool);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->addTool(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAction * a0;
        Plasma::AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, sipType_QAction, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AbstractToolBox, sipName_removeTool);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeTool(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractToolBox *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AbstractToolBox, sipName_isShowing);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isShowing();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Plasma::AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_AbstractToolBox, sipName_setShowing);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowing(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AbstractToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractToolBox, &sipCpp))
        {
            Plasma::Containment *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_containment();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AbstractToolBox(void *, const sipTypeDef *);}
static void *cast_Plasma_AbstractToolBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AbstractToolBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(Plasma::AbstractToolBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AbstractToolBox(void *, int);}
static void release_Plasma_AbstractToolBox(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AbstractToolBox *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AbstractToolBox *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AbstractToolBox(sipSimpleWrapper *);}
static void dealloc_Plasma_AbstractToolBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AbstractToolBox *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AbstractToolBox(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        Plasma::Containment * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_Plasma_Containment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AbstractToolBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_AbstractToolBox[] = {{215, 2, 1}};


static PyMethodDef methods_Plasma_AbstractToolBox[] = {
    {SIP_MLNAME_CAST(sipName_addTool), meth_Plasma_AbstractToolBox_addTool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Plasma_AbstractToolBox_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AbstractToolBox_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Plasma_AbstractToolBox_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AbstractToolBox_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containment), meth_Plasma_AbstractToolBox_containment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Plasma_AbstractToolBox_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AbstractToolBox_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AbstractToolBox_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_AbstractToolBox_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_AbstractToolBox_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_AbstractToolBox_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_AbstractToolBox_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_AbstractToolBox_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_AbstractToolBox_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Plasma_AbstractToolBox_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Plasma_AbstractToolBox_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), meth_Plasma_AbstractToolBox_grabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), meth_Plasma_AbstractToolBox_grabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_AbstractToolBox_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), meth_Plasma_AbstractToolBox_hoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_AbstractToolBox_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_AbstractToolBox_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Plasma_AbstractToolBox_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Plasma_AbstractToolBox_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Plasma_AbstractToolBox_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isShowing), meth_Plasma_AbstractToolBox_isShowing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_AbstractToolBox_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_AbstractToolBox_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Plasma_AbstractToolBox_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_AbstractToolBox_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_AbstractToolBox_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_AbstractToolBox_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_AbstractToolBox_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_AbstractToolBox_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polishEvent), meth_Plasma_AbstractToolBox_polishEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), meth_Plasma_AbstractToolBox_prepareGeometryChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AbstractToolBox_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTool), meth_Plasma_AbstractToolBox_removeTool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_AbstractToolBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), meth_Plasma_AbstractToolBox_sceneEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_AbstractToolBox_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), meth_Plasma_AbstractToolBox_setGraphicsItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), meth_Plasma_AbstractToolBox_setOwnedByLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowing), meth_Plasma_AbstractToolBox_setShowing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_AbstractToolBox_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_AbstractToolBox_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AbstractToolBox_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), meth_Plasma_AbstractToolBox_ungrabKeyboardEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), meth_Plasma_AbstractToolBox_ungrabMouseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Plasma_AbstractToolBox_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Plasma_AbstractToolBox_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), meth_Plasma_AbstractToolBox_windowFrameEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), meth_Plasma_AbstractToolBox_windowFrameSectionAt, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_AbstractToolBox[] = {
    {sipName_AddTool, Plasma::AbstractToolBox::AddTool, 6},
    {sipName_ConfigureTool, Plasma::AbstractToolBox::ConfigureTool, 6},
    {sipName_ControlTool, Plasma::AbstractToolBox::ControlTool, 6},
    {sipName_DestructiveTool, Plasma::AbstractToolBox::DestructiveTool, 6},
    {sipName_MiscTool, Plasma::AbstractToolBox::MiscTool, 6},
    {sipName_UserToolType, Plasma::AbstractToolBox::UserToolType, 6},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AbstractToolBox[] = {
    {"visibilityChanged(bool)", 0, 0},
    {"toggled()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AbstractToolBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AbstractToolBox,
        {0}
    },
    {
        sipNameNr_AbstractToolBox,
        {1, 255, 0},
        54, methods_Plasma_AbstractToolBox,
        6, enummembers_Plasma_AbstractToolBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AbstractToolBox,
    0,
    init_Plasma_AbstractToolBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AbstractToolBox,
    0,
    0,
    0,
    release_Plasma_AbstractToolBox,
    cast_Plasma_AbstractToolBox,
    0,
    0,
    0
},
    &Plasma::AbstractToolBox::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AbstractToolBox
};

#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 7263 "sipplasmapart7.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7267 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7270 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7273 "sipplasmapart7.cpp"
#line 131 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7276 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7279 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 7282 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 7285 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7288 "sipplasmapart7.cpp"
#line 486 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 7291 "sipplasmapart7.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7294 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 7297 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 7300 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7303 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 7306 "sipplasmapart7.cpp"
#line 111 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 7309 "sipplasmapart7.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 7312 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 7315 "sipplasmapart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7318 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 7321 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/package.sip"
#include <plasma/package.h>
#line 7324 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 7327 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 7330 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7333 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7336 "sipplasmapart7.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7339 "sipplasmapart7.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7342 "sipplasmapart7.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7345 "sipplasmapart7.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7348 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7351 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7354 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7357 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7360 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7363 "sipplasmapart7.cpp"


class sipPlasma_AbstractRunner : public Plasma::AbstractRunner
{
public:
    sipPlasma_AbstractRunner(QObject *,const QString&);
    sipPlasma_AbstractRunner(QObject *,const QVariantList&);
    virtual ~sipPlasma_AbstractRunner();

    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.
     */
    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 char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    KConfigGroup sipProtect_config() const;
    void sipProtect_setHasRunOptions(bool);
    void sipProtect_setSpeed(Plasma::AbstractRunner::Speed);
    void sipProtect_setPriority(Plasma::AbstractRunner::Priority);
    KService::List sipProtect_serviceQuery(const QString&,const QString&) const;
    QList<QAction *> sipProtectVirt_actionsForMatch(bool,const Plasma::QueryMatch&);
    QAction * sipProtect_addAction(const QString&,const QIcon&,const QString&);
    void sipProtect_addAction(const QString&,QAction *);
    void sipProtect_removeAction(const QString&);
    QAction * sipProtect_action(const QString&) const;
    QHash<QString,QAction *> sipProtect_actions() const;
    void sipProtect_clearActions();
    void sipProtect_addSyntax(const Plasma::RunnerSyntax&);
    void sipProtect_init();
    void sipProtect_setSyntaxes(const QList<Plasma::RunnerSyntax>&);
    void sipProtect_setDefaultSyntax(const Plasma::RunnerSyntax&);
    Plasma::DataEngine * sipProtect_dataEngine(const QString&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void match(Plasma::RunnerContext&);
    void createRunOptions(QWidget *);
    void run(const Plasma::RunnerContext&,const Plasma::QueryMatch&);
    void reloadConfiguration();
    QList<QAction *> actionsForMatch(const Plasma::QueryMatch&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipPlasma_AbstractRunner::sipPlasma_AbstractRunner(QObject *a0,const QString& a1): Plasma::AbstractRunner(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AbstractRunner::sipPlasma_AbstractRunner(QObject *a0,const QVariantList& a1): Plasma::AbstractRunner(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_AbstractRunner::~sipPlasma_AbstractRunner()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipPlasma_AbstractRunner::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_AbstractRunner);
}

int sipPlasma_AbstractRunner::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Plasma::AbstractRunner::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_AbstractRunner,_c,_id,_a);

    return _id;
}

void *sipPlasma_AbstractRunner::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast && sip_plasma_qt_metacast(sipPySelf,sipType_Plasma_AbstractRunner,_clname)) ? this : Plasma::AbstractRunner::qt_metacast(_clname);
}

void sipPlasma_AbstractRunner::match(Plasma::RunnerContext& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_match);

    if (!meth)
    {
        Plasma::AbstractRunner::match(a0);
        return;
    }

    extern void sipVH_plasma_5(sip_gilstate_t,PyObject *,Plasma::RunnerContext&);

    sipVH_plasma_5(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::createRunOptions(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_createRunOptions);

    if (!meth)
    {
        Plasma::AbstractRunner::createRunOptions(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_plasma_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::run(const Plasma::RunnerContext& a0,const Plasma::QueryMatch& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_run);

    if (!meth)
    {
        Plasma::AbstractRunner::run(a0,a1);
        return;
    }

    extern void sipVH_plasma_4(sip_gilstate_t,PyObject *,const Plasma::RunnerContext&,const Plasma::QueryMatch&);

    sipVH_plasma_4(sipGILState,meth,a0,a1);
}

void sipPlasma_AbstractRunner::reloadConfiguration()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_reloadConfiguration);

    if (!meth)
    {
        Plasma::AbstractRunner::reloadConfiguration();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

QList<QAction *> sipPlasma_AbstractRunner::actionsForMatch(const Plasma::QueryMatch& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_actionsForMatch);

    if (!meth)
        return Plasma::AbstractRunner::actionsForMatch(a0);

    extern QList<QAction *> sipVH_plasma_30(sip_gilstate_t,PyObject *,const Plasma::QueryMatch&);

    return sipVH_plasma_30(sipGILState,meth,a0);
}

bool sipPlasma_AbstractRunner::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipPlasma_AbstractRunner::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipPlasma_AbstractRunner::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipPlasma_AbstractRunner::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

KConfigGroup sipPlasma_AbstractRunner::sipProtect_config() const
{
    return Plasma::AbstractRunner::config();
}

void sipPlasma_AbstractRunner::sipProtect_setHasRunOptions(bool a0)
{
    Plasma::AbstractRunner::setHasRunOptions(a0);
}

void sipPlasma_AbstractRunner::sipProtect_setSpeed(Plasma::AbstractRunner::Speed a0)
{
    Plasma::AbstractRunner::setSpeed(a0);
}

void sipPlasma_AbstractRunner::sipProtect_setPriority(Plasma::AbstractRunner::Priority a0)
{
    Plasma::AbstractRunner::setPriority(a0);
}

KService::List sipPlasma_AbstractRunner::sipProtect_serviceQuery(const QString& a0,const QString& a1) const
{
    return Plasma::AbstractRunner::serviceQuery(a0,a1);
}

QList<QAction *> sipPlasma_AbstractRunner::sipProtectVirt_actionsForMatch(bool sipSelfWasArg,const Plasma::QueryMatch& a0)
{
    return (sipSelfWasArg ? Plasma::AbstractRunner::actionsForMatch(a0) : actionsForMatch(a0));
}

QAction * sipPlasma_AbstractRunner::sipProtect_addAction(const QString& a0,const QIcon& a1,const QString& a2)
{
    return Plasma::AbstractRunner::addAction(a0,a1,a2);
}

void sipPlasma_AbstractRunner::sipProtect_addAction(const QString& a0,QAction *a1)
{
    Plasma::AbstractRunner::addAction(a0,a1);
}

void sipPlasma_AbstractRunner::sipProtect_removeAction(const QString& a0)
{
    Plasma::AbstractRunner::removeAction(a0);
}

QAction * sipPlasma_AbstractRunner::sipProtect_action(const QString& a0) const
{
    return Plasma::AbstractRunner::action(a0);
}

QHash<QString,QAction *> sipPlasma_AbstractRunner::sipProtect_actions() const
{
    return Plasma::AbstractRunner::actions();
}

void sipPlasma_AbstractRunner::sipProtect_clearActions()
{
    Plasma::AbstractRunner::clearActions();
}

void sipPlasma_AbstractRunner::sipProtect_addSyntax(const Plasma::RunnerSyntax& a0)
{
    Plasma::AbstractRunner::addSyntax(a0);
}

void sipPlasma_AbstractRunner::sipProtect_init()
{
    Plasma::AbstractRunner::init();
}

void sipPlasma_AbstractRunner::sipProtect_setSyntaxes(const QList<Plasma::RunnerSyntax>& a0)
{
    Plasma::AbstractRunner::setSyntaxes(a0);
}

void sipPlasma_AbstractRunner::sipProtect_setDefaultSyntax(const Plasma::RunnerSyntax& a0)
{
    Plasma::AbstractRunner::setDefaultSyntax(a0);
}

Plasma::DataEngine * sipPlasma_AbstractRunner::sipProtect_dataEngine(const QString& a0) const
{
    return Plasma::AbstractRunner::dataEngine(a0);
}


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

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 7820 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerContext * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerContext, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AbstractRunner::match(*a0) : sipCpp->match(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::RunnerContext * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerContext, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->performMatch(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasRunOptions();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AbstractRunner::createRunOptions(a0) : sipCpp->createRunOptions(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::RunnerContext * a0;
        const Plasma::QueryMatch * a1;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerContext, &a0, sipType_Plasma_QueryMatch, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AbstractRunner::run(*a0,*a1) : sipCpp->run(*a0,*a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Plasma::AbstractRunner::Speed sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->speed();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AbstractRunner_Speed);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Plasma::AbstractRunner::Priority sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->priority();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AbstractRunner_Priority);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Plasma::RunnerContext::Types *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::RunnerContext::Types(sipCpp->ignoredTypes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::RunnerContext::Types * a0;
        int a0State = 0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerContext_Types, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIgnoredTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_RunnerContext_Types,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->id());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            QIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            const Plasma::Package *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->package();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Plasma::AbstractRunner::reloadConfiguration() : sipCpp->reloadConfiguration());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Plasma::RunnerSyntax>(sipCpp->syntaxes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QMutex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::AbstractRunner::bigLock();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->sipProtect_config());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHasRunOptions(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner::Speed a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_AbstractRunner_Speed, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner::Priority a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_AbstractRunner_Priority, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPriority(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            KService::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KService::List(sipCpp->sipProtect_serviceQuery(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        const Plasma::QueryMatch * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_QueryMatch, &a0))
        {
            QList<QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction *>(sipCpp->sipProtectVirt_actionsForMatch(sipSelfWasArg,*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QIcon * a1;
        const QString * a2;
        int a2State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_addAction(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

    {
        const QString * a0;
        int a0State = 0;
        QAction * a1;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_removeAction(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            QHash<QString,QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,QAction *>(sipCpp->sipProtect_actions());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearActions();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Plasma::RunnerSyntax * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerSyntax, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addSyntax(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_init();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QList<Plasma::RunnerSyntax> * a0;
        int a0State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QList_0100Plasma_RunnerSyntax,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setSyntaxes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Plasma::RunnerSyntax> *>(a0),sipType_QList_0100Plasma_RunnerSyntax,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp))
        {
            Plasma::RunnerSyntax *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultSyntax();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Plasma::RunnerSyntax * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_Plasma_RunnerSyntax, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDefaultSyntax(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_AbstractRunner, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Plasma::DataEngine *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_AbstractRunner(void *, const sipTypeDef *);}
static void *cast_Plasma_AbstractRunner(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Plasma_AbstractRunner)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Plasma::AbstractRunner *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_AbstractRunner(void *, int);}
static void release_Plasma_AbstractRunner(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPlasma_AbstractRunner *>(sipCppV);
    else
        delete reinterpret_cast<Plasma::AbstractRunner *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_AbstractRunner(sipSimpleWrapper *);}
static void dealloc_Plasma_AbstractRunner(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_AbstractRunner *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_AbstractRunner(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QObject * a0 = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QObject, &a0, sipOwner, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AbstractRunner(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject * a0;
        const QVariantList * a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AbstractRunner(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_AbstractRunner[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_AbstractRunner_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actions), meth_Plasma_AbstractRunner_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionsForMatch), meth_Plasma_AbstractRunner_actionsForMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_AbstractRunner_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSyntax), meth_Plasma_AbstractRunner_addSyntax, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bigLock), meth_Plasma_AbstractRunner_bigLock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Plasma_AbstractRunner_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearActions), meth_Plasma_AbstractRunner_clearActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_AbstractRunner_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Plasma_AbstractRunner_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createRunOptions), meth_Plasma_AbstractRunner_createRunOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Plasma_AbstractRunner_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_AbstractRunner_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultSyntax), meth_Plasma_AbstractRunner_defaultSyntax, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Plasma_AbstractRunner_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Plasma_AbstractRunner_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasRunOptions), meth_Plasma_AbstractRunner_hasRunOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_AbstractRunner_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_Plasma_AbstractRunner_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoredTypes), meth_Plasma_AbstractRunner_ignoredTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_AbstractRunner_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_Plasma_AbstractRunner_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_AbstractRunner_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_AbstractRunner_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_performMatch), meth_Plasma_AbstractRunner_performMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_priority), meth_Plasma_AbstractRunner_priority, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Plasma_AbstractRunner_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reloadConfiguration), meth_Plasma_AbstractRunner_reloadConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_Plasma_AbstractRunner_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_run), meth_Plasma_AbstractRunner_run, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceQuery), meth_Plasma_AbstractRunner_serviceQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultSyntax), meth_Plasma_AbstractRunner_setDefaultSyntax, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasRunOptions), meth_Plasma_AbstractRunner_setHasRunOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIgnoredTypes), meth_Plasma_AbstractRunner_setIgnoredTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPriority), meth_Plasma_AbstractRunner_setPriority, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpeed), meth_Plasma_AbstractRunner_setSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSyntaxes), meth_Plasma_AbstractRunner_setSyntaxes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_speed), meth_Plasma_AbstractRunner_speed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_syntaxes), meth_Plasma_AbstractRunner_syntaxes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_AbstractRunner_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_AbstractRunner[] = {
    {sipName_HighPriority, Plasma::AbstractRunner::HighPriority, 3},
    {sipName_HighestPriority, Plasma::AbstractRunner::HighestPriority, 3},
    {sipName_LowPriority, Plasma::AbstractRunner::LowPriority, 3},
    {sipName_LowestPriority, Plasma::AbstractRunner::LowestPriority, 3},
    {sipName_NormalPriority, Plasma::AbstractRunner::NormalPriority, 3},
    {sipName_NormalSpeed, Plasma::AbstractRunner::NormalSpeed, 4},
    {sipName_SlowSpeed, Plasma::AbstractRunner::SlowSpeed, 4},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_AbstractRunner[] = {
    {"teardown()", 0, 0},
    {"prepare()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_AbstractRunner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AbstractRunner,
        {0}
    },
    {
        sipNameNr_AbstractRunner,
        {1, 255, 0},
        40, methods_Plasma_AbstractRunner,
        7, enummembers_Plasma_AbstractRunner,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_AbstractRunner,
    0,
    init_Plasma_AbstractRunner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AbstractRunner,
    0,
    0,
    0,
    release_Plasma_AbstractRunner,
    cast_Plasma_AbstractRunner,
    0,
    0,
    0
},
    &Plasma::AbstractRunner::staticMetaObject,
    0,
    pyqt4_signals_Plasma_AbstractRunner
};




extern "C" {static int slot_Plasma_MessageButtons___bool__(PyObject *sipSelf);}
static int slot_Plasma_MessageButtons___bool__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 9161 "sipplasmapart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_MessageButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 316 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 9189 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_MessageButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_MessageButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 311 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 9225 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_MessageButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_MessageButtons___invert__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_MessageButtons___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_MessageButtons, &a0, &a0State, &a1))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;
        Plasma::MessageButtons * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_MessageButtons, &a0, &a0State, sipType_Plasma_MessageButtons, &a1, &a1State))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);
            sipReleaseType(a1,sipType_Plasma_MessageButtons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_MessageButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;
        Plasma::MessageButtons * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_MessageButtons, &a0, &a0State, sipType_Plasma_MessageButtons, &a1, &a1State))
        {
            Plasma::MessageButtons *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::MessageButtons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);
            sipReleaseType(a1,sipType_Plasma_MessageButtons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_MessageButtons___int__(PyObject *sipSelf)
{
    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_MessageButtons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::MessageButtons::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_MessageButtons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::MessageButtons::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_MessageButtons,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_MessageButtons___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_MessageButtons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_MessageButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::MessageButtons *sipCpp = reinterpret_cast<Plasma::MessageButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_MessageButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::MessageButtons::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_MessageButtons(void *, const sipTypeDef *);}
static void *cast_Plasma_MessageButtons(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_MessageButtons)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_MessageButtons(void *, int);}
static void release_Plasma_MessageButtons(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::MessageButtons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_MessageButtons(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_MessageButtons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::MessageButtons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::MessageButtons *>(sipSrc);
}


extern "C" {static void *array_Plasma_MessageButtons(SIP_SSIZE_T);}
static void *array_Plasma_MessageButtons(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::MessageButtons[sipNrElem];
}


extern "C" {static void *copy_Plasma_MessageButtons(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_MessageButtons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::MessageButtons(reinterpret_cast<const Plasma::MessageButtons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_MessageButtons(sipSimpleWrapper *);}
static void dealloc_Plasma_MessageButtons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_MessageButtons(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_MessageButtons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_MessageButtons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::MessageButtons *sipCpp = 0;

    {
        const Plasma::MessageButtons * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_MessageButtons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::MessageButtons *>(a0),sipType_Plasma_MessageButtons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::MessageButtons();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_MessageButtons(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_MessageButtons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::MessageButtons **sipCppPtr = reinterpret_cast<Plasma::MessageButtons **>(sipCppPtrV);

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::MessageButtons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_MessageButton)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_MessageButtons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_MessageButton)))
{
    *sipCppPtr = new Plasma::MessageButtons(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::MessageButtons *>(sipConvertToType(sipPy, sipType_Plasma_MessageButtons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 9641 "sipplasmapart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_MessageButtons[] = {
    {(void *)slot_Plasma_MessageButtons___bool__, bool_slot},
    {(void *)slot_Plasma_MessageButtons___ne__, ne_slot},
    {(void *)slot_Plasma_MessageButtons___eq__, eq_slot},
    {(void *)slot_Plasma_MessageButtons___invert__, invert_slot},
    {(void *)slot_Plasma_MessageButtons___and__, and_slot},
    {(void *)slot_Plasma_MessageButtons___xor__, xor_slot},
    {(void *)slot_Plasma_MessageButtons___or__, or_slot},
    {(void *)slot_Plasma_MessageButtons___int__, int_slot},
    {(void *)slot_Plasma_MessageButtons___ixor__, ixor_slot},
    {(void *)slot_Plasma_MessageButtons___ior__, ior_slot},
    {(void *)slot_Plasma_MessageButtons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_MessageButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__MessageButtons,
        {0}
    },
    {
        sipNameNr_MessageButtons,
        {1, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_MessageButtons,
    init_Plasma_MessageButtons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_MessageButtons,
    assign_Plasma_MessageButtons,
    array_Plasma_MessageButtons,
    copy_Plasma_MessageButtons,
    release_Plasma_MessageButtons,
    cast_Plasma_MessageButtons,
    convertTo_Plasma_MessageButtons,
    0,
    0
},
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_ComponentTypes___bool__(PyObject *sipSelf);}
static int slot_Plasma_ComponentTypes___bool__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 9730 "sipplasmapart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 316 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 9758 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_ComponentTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 311 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 9794 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_ComponentTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_ComponentTypes___invert__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_ComponentTypes___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_ComponentTypes, &a0, &a0State, &a1))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;
        Plasma::ComponentTypes * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_ComponentTypes, &a0, &a0State, sipType_Plasma_ComponentTypes, &a1, &a1State))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);
            sipReleaseType(a1,sipType_Plasma_ComponentTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_ComponentTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;
        Plasma::ComponentTypes * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_ComponentTypes, &a0, &a0State, sipType_Plasma_ComponentTypes, &a1, &a1State))
        {
            Plasma::ComponentTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::ComponentTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);
            sipReleaseType(a1,sipType_Plasma_ComponentTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_ComponentTypes___int__(PyObject *sipSelf)
{
    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::ComponentTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::ComponentTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_ComponentTypes___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_ComponentTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_ComponentTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::ComponentTypes *sipCpp = reinterpret_cast<Plasma::ComponentTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_ComponentTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::ComponentTypes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_ComponentTypes(void *, const sipTypeDef *);}
static void *cast_Plasma_ComponentTypes(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_ComponentTypes)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ComponentTypes(void *, int);}
static void release_Plasma_ComponentTypes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::ComponentTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_ComponentTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_ComponentTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::ComponentTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::ComponentTypes *>(sipSrc);
}


extern "C" {static void *array_Plasma_ComponentTypes(SIP_SSIZE_T);}
static void *array_Plasma_ComponentTypes(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::ComponentTypes[sipNrElem];
}


extern "C" {static void *copy_Plasma_ComponentTypes(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_ComponentTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::ComponentTypes(reinterpret_cast<const Plasma::ComponentTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_ComponentTypes(sipSimpleWrapper *);}
static void dealloc_Plasma_ComponentTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ComponentTypes(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_ComponentTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_ComponentTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::ComponentTypes *sipCpp = 0;

    {
        const Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::ComponentTypes *>(a0),sipType_Plasma_ComponentTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::ComponentTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_ComponentTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_ComponentTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::ComponentTypes **sipCppPtr = reinterpret_cast<Plasma::ComponentTypes **>(sipCppPtrV);

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::ComponentTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_ComponentType)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_ComponentTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_ComponentType)))
{
    *sipCppPtr = new Plasma::ComponentTypes(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::ComponentTypes *>(sipConvertToType(sipPy, sipType_Plasma_ComponentTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 10210 "sipplasmapart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_ComponentTypes[] = {
    {(void *)slot_Plasma_ComponentTypes___bool__, bool_slot},
    {(void *)slot_Plasma_ComponentTypes___ne__, ne_slot},
    {(void *)slot_Plasma_ComponentTypes___eq__, eq_slot},
    {(void *)slot_Plasma_ComponentTypes___invert__, invert_slot},
    {(void *)slot_Plasma_ComponentTypes___and__, and_slot},
    {(void *)slot_Plasma_ComponentTypes___xor__, xor_slot},
    {(void *)slot_Plasma_ComponentTypes___or__, or_slot},
    {(void *)slot_Plasma_ComponentTypes___int__, int_slot},
    {(void *)slot_Plasma_ComponentTypes___ixor__, ixor_slot},
    {(void *)slot_Plasma_ComponentTypes___ior__, ior_slot},
    {(void *)slot_Plasma_ComponentTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ComponentTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__ComponentTypes,
        {0}
    },
    {
        sipNameNr_ComponentTypes,
        {1, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_ComponentTypes,
    init_Plasma_ComponentTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ComponentTypes,
    assign_Plasma_ComponentTypes,
    array_Plasma_ComponentTypes,
    copy_Plasma_ComponentTypes,
    release_Plasma_ComponentTypes,
    cast_Plasma_ComponentTypes,
    convertTo_Plasma_ComponentTypes,
    0,
    0
},
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_Flip___bool__(PyObject *sipSelf);}
static int slot_Plasma_Flip___bool__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 10299 "sipplasmapart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Flip___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Flip, &a0, &a0State))
        {
            bool sipRes = 0;

#line 316 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 10327 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Flip,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Flip___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Flip, &a0, &a0State))
        {
            bool sipRes = 0;

#line 311 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 10363 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Flip,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Flip___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Flip___invert__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_Flip___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Flip * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Flip, &a0, &a0State, &a1))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Flip * a0;
        int a0State = 0;
        Plasma::Flip * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Flip, &a0, &a0State, sipType_Plasma_Flip, &a1, &a1State))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Flip,a0State);
            sipReleaseType(a1,sipType_Plasma_Flip,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Flip___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Flip * a0;
        int a0State = 0;
        Plasma::Flip * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Flip, &a0, &a0State, sipType_Plasma_Flip, &a1, &a1State))
        {
            Plasma::Flip *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Flip((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Flip,a0State);
            sipReleaseType(a1,sipType_Plasma_Flip,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Flip___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Flip___int__(PyObject *sipSelf)
{
    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Flip___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Flip, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Flip::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Flip___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Flip, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Flip::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Flip,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Flip___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Flip___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Flip)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Flip *sipCpp = reinterpret_cast<Plasma::Flip *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Flip));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Flip::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Flip(void *, const sipTypeDef *);}
static void *cast_Plasma_Flip(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Flip)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Flip(void *, int);}
static void release_Plasma_Flip(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Flip *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Flip(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Flip(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::Flip *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::Flip *>(sipSrc);
}


extern "C" {static void *array_Plasma_Flip(SIP_SSIZE_T);}
static void *array_Plasma_Flip(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::Flip[sipNrElem];
}


extern "C" {static void *copy_Plasma_Flip(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Flip(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::Flip(reinterpret_cast<const Plasma::Flip *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Flip(sipSimpleWrapper *);}
static void dealloc_Plasma_Flip(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Flip(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_Flip(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Flip(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Flip *sipCpp = 0;

    {
        const Plasma::Flip * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Flip, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Flip *>(a0),sipType_Plasma_Flip,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Flip();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Flip(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Flip(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Flip **sipCppPtr = reinterpret_cast<Plasma::Flip **>(sipCppPtrV);

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Flip is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FlipDirection)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Flip, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_FlipDirection)))
{
    *sipCppPtr = new Plasma::Flip(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Flip *>(sipConvertToType(sipPy, sipType_Plasma_Flip, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 10779 "sipplasmapart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Flip[] = {
    {(void *)slot_Plasma_Flip___bool__, bool_slot},
    {(void *)slot_Plasma_Flip___ne__, ne_slot},
    {(void *)slot_Plasma_Flip___eq__, eq_slot},
    {(void *)slot_Plasma_Flip___invert__, invert_slot},
    {(void *)slot_Plasma_Flip___and__, and_slot},
    {(void *)slot_Plasma_Flip___xor__, xor_slot},
    {(void *)slot_Plasma_Flip___or__, or_slot},
    {(void *)slot_Plasma_Flip___int__, int_slot},
    {(void *)slot_Plasma_Flip___ixor__, ixor_slot},
    {(void *)slot_Plasma_Flip___ior__, ior_slot},
    {(void *)slot_Plasma_Flip___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Flip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Flip,
        {0}
    },
    {
        sipNameNr_Flip,
        {1, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Flip,
    init_Plasma_Flip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Flip,
    assign_Plasma_Flip,
    array_Plasma_Flip,
    copy_Plasma_Flip,
    release_Plasma_Flip,
    cast_Plasma_Flip,
    convertTo_Plasma_Flip,
    0,
    0
},
    0,
    1,
    0
};




extern "C" {static int slot_Plasma_Constraints___bool__(PyObject *sipSelf);}
static int slot_Plasma_Constraints___bool__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 10868 "sipplasmapart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Constraints___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Constraints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 316 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 10896 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,ne_slot,sipType_Plasma_Constraints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Constraints___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Constraints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 311 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 10932 "sipplasmapart7.cpp"
            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,eq_slot,sipType_Plasma_Constraints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Plasma_Constraints___invert__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Constraints___invert__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;


    {
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_Plasma_Constraints___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Constraints, &a0, &a0State, &a1))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        Plasma::Constraints * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Constraints, &a0, &a0State, sipType_Plasma_Constraints, &a1, &a1State))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);
            sipReleaseType(a1,sipType_Plasma_Constraints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_Plasma_Constraints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints * a0;
        int a0State = 0;
        Plasma::Constraints * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Constraints, &a0, &a0State, sipType_Plasma_Constraints, &a1, &a1State))
        {
            Plasma::Constraints *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::Constraints((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);
            sipReleaseType(a1,sipType_Plasma_Constraints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Constraints___int__(PyObject *sipSelf);}
static PyObject *slot_Plasma_Constraints___int__(PyObject *sipSelf)
{
    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_Plasma_Constraints___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Constraints::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Constraints___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Constraints::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Constraints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Constraints___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Plasma_Constraints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Constraints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    Plasma::Constraints *sipCpp = reinterpret_cast<Plasma::Constraints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Constraints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Constraints::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Plasma_Constraints(void *, const sipTypeDef *);}
static void *cast_Plasma_Constraints(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Plasma_Constraints)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Constraints(void *, int);}
static void release_Plasma_Constraints(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Plasma::Constraints *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Constraints(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Constraints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Plasma::Constraints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Plasma::Constraints *>(sipSrc);
}


extern "C" {static void *array_Plasma_Constraints(SIP_SSIZE_T);}
static void *array_Plasma_Constraints(SIP_SSIZE_T sipNrElem)
{
    return new Plasma::Constraints[sipNrElem];
}


extern "C" {static void *copy_Plasma_Constraints(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Constraints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Plasma::Constraints(reinterpret_cast<const Plasma::Constraints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Constraints(sipSimpleWrapper *);}
static void dealloc_Plasma_Constraints(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Constraints(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Plasma_Constraints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Plasma_Constraints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Plasma::Constraints *sipCpp = 0;

    {
        const Plasma::Constraints * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Constraints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Plasma::Constraints *>(a0),sipType_Plasma_Constraints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Constraints();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Constraints(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Constraints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Plasma::Constraints **sipCppPtr = reinterpret_cast<Plasma::Constraints **>(sipCppPtrV);

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Constraints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Constraint)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Constraints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Constraint)))
{
    *sipCppPtr = new Plasma::Constraints(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Constraints *>(sipConvertToType(sipPy, sipType_Plasma_Constraints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 11348 "sipplasmapart7.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Constraints[] = {
    {(void *)slot_Plasma_Constraints___bool__, bool_slot},
    {(void *)slot_Plasma_Constraints___ne__, ne_slot},
    {(void *)slot_Plasma_Constraints___eq__, eq_slot},
    {(void *)slot_Plasma_Constraints___invert__, invert_slot},
    {(void *)slot_Plasma_Constraints___and__, and_slot},
    {(void *)slot_Plasma_Constraints___xor__, xor_slot},
    {(void *)slot_Plasma_Constraints___or__, or_slot},
    {(void *)slot_Plasma_Constraints___int__, int_slot},
    {(void *)slot_Plasma_Constraints___ixor__, ixor_slot},
    {(void *)slot_Plasma_Constraints___ior__, ior_slot},
    {(void *)slot_Plasma_Constraints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Constraints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Constraints,
        {0}
    },
    {
        sipNameNr_Constraints,
        {1, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Constraints,
    init_Plasma_Constraints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Constraints,
    assign_Plasma_Constraints,
    array_Plasma_Constraints,
    copy_Plasma_Constraints,
    release_Plasma_Constraints,
    cast_Plasma_Constraints,
    convertTo_Plasma_Constraints,
    0,
    0
},
    0,
    1,
    0
};


#line 41 "/usr/local/share/py-sip/QtGui/qimage.sip"
#include <qimage.h>
#line 11422 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 11425 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 57 "/usr/local/share/py-sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 11430 "sipplasmapart7.cpp"
#line 160 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 11433 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 11436 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11439 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 11442 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11445 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11448 "sipplasmapart7.cpp"


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

    {
        QPainter * a0;
        const QRectF * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9", sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::PaintUtils::drawHalo(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        const QFont * a1;
        QColor * a2;
        int a2State = 0;
        QColor * a3;
        int a3State = 0;
        QPoint a4def = QPoint(1,1);
        QPoint * a4 = &a4def;
        int a5 = 2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9J1J1|J9i", sipType_QString,&a0, &a0State, sipType_QFont, &a1, sipType_QColor, &a2, &a2State, sipType_QColor, &a3, &a3State, sipType_QPoint, &a4, &a5))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(Plasma::PaintUtils::shadowText(*a0,*a1,*a2,*a3,*a4,a5));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a2,sipType_QColor,a2State);
            sipReleaseType(a3,sipType_QColor,a3State);

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

    {
        QString * a0;
        int a0State = 0;
        QColor * a1;
        int a1State = 0;
        QColor * a2;
        int a2State = 0;
        QPoint a3def = QPoint(1,1);
        QPoint * a3 = &a3def;
        int a4 = 2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1|J9i", sipType_QString,&a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QColor, &a2, &a2State, sipType_QPoint, &a3, &a4))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(Plasma::PaintUtils::shadowText(*a0,*a1,*a2,*a3,a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QColor,a1State);
            sipReleaseType(a2,sipType_QColor,a2State);

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

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

    return NULL;
}


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

    {
        const QPixmap * a0;
        const QPixmap * a1;
        qreal a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9d", sipType_QPixmap, &a0, sipType_QPixmap, &a1, &a2))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(Plasma::PaintUtils::transition(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QRectF * a0;
        qreal a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9d", sipType_QRectF, &a0, &a1))
        {
            QPainterPath *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainterPath(Plasma::PaintUtils::roundedRectangle(*a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QImage * a0;
        int a1;
        const QColor * a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9iJ1", sipType_QImage, &a0, &a1, sipType_QColor, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            Plasma::PaintUtils::shadowBlur(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


static PyMethodDef methods_Plasma_PaintUtils[] = {
    {SIP_MLNAME_CAST(sipName_drawHalo), meth_Plasma_PaintUtils_drawHalo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_roundedRectangle), meth_Plasma_PaintUtils_roundedRectangle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowBlur), meth_Plasma_PaintUtils_shadowBlur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadowText), meth_Plasma_PaintUtils_shadowText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_transition), meth_Plasma_PaintUtils_transition, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_PaintUtils = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Plasma__PaintUtils,
        {0}
    },
    {
        sipNameNr_PaintUtils,
        {1, 255, 0},
        5, methods_Plasma_PaintUtils,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};


#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 11692 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11695 "sipplasmapart7.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11698 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 11701 "sipplasmapart7.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 11704 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11707 "sipplasmapart7.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11710 "sipplasmapart7.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11713 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/appletscript.sip"
#include <plasma/scripting/appletscript.h>
#line 11716 "sipplasmapart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 11719 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/dataenginescript.sip"
#include <plasma/scripting/dataenginescript.h>
#line 11722 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11725 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/runnerscript.sip"
#include <plasma/scripting/runnerscript.h>
#line 11728 "sipplasmapart7.cpp"
#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 11731 "sipplasmapart7.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11734 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 11737 "sipplasmapart7.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/wallpaperscript.sip"
#include <plasma/scripting/wallpaperscript.h>
#line 11740 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/plasma/wallpaper.sip"
#include <plasma/wallpaper.h>
#line 11743 "sipplasmapart7.cpp"


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

    {
        unsigned a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::isPluginVersionCompatible(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const char *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::versionString();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::versionRelease();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::versionMinor();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::versionMajor();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::version();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ComponentType a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QString,&a0, &a0State, sipType_Plasma_ComponentType, &a1))
        {
            Plasma::PackageStructure::Ptr *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Plasma::PackageStructure::Ptr(Plasma::packageStructure(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_Plasma_Applet, &a1))
        {
            Plasma::AppletScript *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::loadScriptEngine(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString * a0;
        int a0State = 0;
        Plasma::DataEngine * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_Plasma_DataEngine, &a1))
        {
            Plasma::DataEngineScript *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::loadScriptEngine(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString * a0;
        int a0State = 0;
        Plasma::AbstractRunner * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_Plasma_AbstractRunner, &a1))
        {
            Plasma::RunnerScript *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::loadScriptEngine(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Wallpaper * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_Plasma_Wallpaper, &a1))
        {
            Plasma::WallpaperScript *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::loadScriptEngine(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_Plasma_ComponentTypes, &a0, &a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Plasma::knownLanguages(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_ComponentTypes,a0State);

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

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

    return NULL;
}


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

    {
        QMenu * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        QObject * a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|J1J:", sipType_QMenu, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2))
        {
            QList<QAction *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QAction *>(Plasma::actionsFromMenu(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        const QGraphicsItem * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QGraphicsItem, &a0))
        {
            QGraphicsView *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::viewFor(a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Plasma::Location a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Plasma_Location, &a0))
        {
            Plasma::Direction sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::locationToInverseDirection(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Direction);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::Location a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Plasma_Location, &a0))
        {
            Plasma::Direction sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::locationToDirection(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Direction);
        }
    }

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

    return NULL;
}


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

    {
        Plasma::ZoomLevel a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Plasma_ZoomLevel, &a0))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Plasma::scalingFactor(a0);
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


static PyMethodDef methods_Plasma[] = {
    {SIP_MLNAME_CAST(sipName_actionsFromMenu), meth_Plasma_actionsFromMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPluginVersionCompatible), meth_Plasma_isPluginVersionCompatible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_knownLanguages), meth_Plasma_knownLanguages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadScriptEngine), meth_Plasma_loadScriptEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationToDirection), meth_Plasma_locationToDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationToInverseDirection), meth_Plasma_locationToInverseDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_packageStructure), meth_Plasma_packageStructure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scalingFactor), meth_Plasma_scalingFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_version), meth_Plasma_version, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_versionMajor), meth_Plasma_versionMajor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_versionMinor), meth_Plasma_versionMinor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_versionRelease), meth_Plasma_versionRelease, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_versionString), meth_Plasma_versionString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewFor), meth_Plasma_viewFor, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma[] = {
    {sipName_AcceptingInputStatus, Plasma::AcceptingInputStatus, 79},
    {sipName_ActiveStatus, Plasma::ActiveStatus, 79},
    {sipName_AlignToHour, Plasma::AlignToHour, 77},
    {sipName_AlignToMinute, Plasma::AlignToMinute, 77},
    {sipName_AllConstraints, Plasma::AllConstraints, 38},
    {sipName_AnimatorComponent, Plasma::AnimatorComponent, 35},
    {sipName_AppletComponent, Plasma::AppletComponent, 35},
    {sipName_AppletType, Plasma::AppletType, 80},
    {sipName_BottomEdge, Plasma::BottomEdge, 83},
    {sipName_BottomMargin, Plasma::BottomMargin, 84},
    {sipName_BottomPosedLeftAlignedPopup, Plasma::BottomPosedLeftAlignedPopup, 95},
    {sipName_BottomPosedRightAlignedPopup, Plasma::BottomPosedRightAlignedPopup, 95},
    {sipName_BottomPositioned, Plasma::BottomPositioned, 96},
    {sipName_ButtonCancel, Plasma::ButtonCancel, 85},
    {sipName_ButtonNo, Plasma::ButtonNo, 85},
    {sipName_ButtonNone, Plasma::ButtonNone, 85},
    {sipName_ButtonOk, Plasma::ButtonOk, 85},
    {sipName_ButtonYes, Plasma::ButtonYes, 85},
    {sipName_CenterPositioned, Plasma::CenterPositioned, 96},
    {sipName_ConstrainedSquare, Plasma::ConstrainedSquare, 23},
    {sipName_ContainmentComponent, Plasma::ContainmentComponent, 35},
    {sipName_ContextConstraint, Plasma::ContextConstraint, 38},
    {sipName_DataEngineComponent, Plasma::DataEngineComponent, 35},
    {sipName_Desktop, Plasma::Desktop, 83},
    {sipName_DesktopZoom, Plasma::DesktopZoom, 143},
    {sipName_Down, Plasma::Down, 59},
    {sipName_FixedSize, Plasma::FixedSize, 23},
    {sipName_Floating, Plasma::Floating, 83},
    {sipName_FloatingPopup, Plasma::FloatingPopup, 95},
    {sipName_FormFactorConstraint, Plasma::FormFactorConstraint, 38},
    {sipName_FullScreen, Plasma::FullScreen, 83},
    {sipName_GroupZoom, Plasma::GroupZoom, 143},
    {sipName_Horizontal, Plasma::Horizontal, 67},
    {sipName_HorizontalFlip, Plasma::HorizontalFlip, 66},
    {sipName_IgnoreAspectRatio, Plasma::IgnoreAspectRatio, 23},
    {sipName_ImmutableConstraint, Plasma::ImmutableConstraint, 38},
    {sipName_InvalidAspectRatioMode, Plasma::InvalidAspectRatioMode, 23},
    {sipName_InvalidCredentials, Plasma::InvalidCredentials, 131},
    {sipName_KeepAspectRatio, Plasma::KeepAspectRatio, 23},
    {sipName_Left, Plasma::Left, 59},
    {sipName_LeftEdge, Plasma::LeftEdge, 83},
    {sipName_LeftMargin, Plasma::LeftMargin, 84},
    {sipName_LeftPosedBottomAlignedPopup, Plasma::LeftPosedBottomAlignedPopup, 95},
    {sipName_LeftPosedTopAlignedPopup, Plasma::LeftPosedTopAlignedPopup, 95},
    {sipName_LeftPositioned, Plasma::LeftPositioned, 96},
    {sipName_LineEditType, Plasma::LineEditType, 80},
    {sipName_LocationConstraint, Plasma::LocationConstraint, 38},
    {sipName_MediaCenter, Plasma::MediaCenter, 67},
    {sipName_Mutable, Plasma::Mutable, 76},
    {sipName_NeedsAttentionStatus, Plasma::NeedsAttentionStatus, 79},
    {sipName_NoAlignment, Plasma::NoAlignment, 77},
    {sipName_NoAnnouncement, Plasma::NoAnnouncement, 17},
    {sipName_NoConstraint, Plasma::NoConstraint, 38},
    {sipName_NoFlip, Plasma::NoFlip, 66},
    {sipName_OverviewZoom, Plasma::OverviewZoom, 143},
    {sipName_PassiveStatus, Plasma::PassiveStatus, 79},
    {sipName_Planar, Plasma::Planar, 67},
    {sipName_PopupConstraint, Plasma::PopupConstraint, 38},
    {sipName_Right, Plasma::Right, 59},
    {sipName_RightEdge, Plasma::RightEdge, 83},
    {sipName_RightMargin, Plasma::RightMargin, 84},
    {sipName_RightPosedBottomAlignedPopup, Plasma::RightPosedBottomAlignedPopup, 95},
    {sipName_RightPosedTopAlignedPopup, Plasma::RightPosedTopAlignedPopup, 95},
    {sipName_RightPositioned, Plasma::RightPositioned, 96},
    {sipName_RunnerComponent, Plasma::RunnerComponent, 35},
    {sipName_ScreenConstraint, Plasma::ScreenConstraint, 38},
    {sipName_SizeConstraint, Plasma::SizeConstraint, 38},
    {sipName_Square, Plasma::Square, 23},
    {sipName_StartupCompletedConstraint, Plasma::StartupCompletedConstraint, 38},
    {sipName_SystemImmutable, Plasma::SystemImmutable, 76},
    {sipName_TopEdge, Plasma::TopEdge, 83},
    {sipName_TopMargin, Plasma::TopMargin, 84},
    {sipName_TopPosedLeftAlignedPopup, Plasma::TopPosedLeftAlignedPopup, 95},
    {sipName_TopPosedRightAlignedPopup, Plasma::TopPosedRightAlignedPopup, 95},
    {sipName_TopPositioned, Plasma::TopPositioned, 96},
    {sipName_TrustedCredentials, Plasma::TrustedCredentials, 131},
    {sipName_UltimateCredentials, Plasma::UltimateCredentials, 131},
    {sipName_UnknownCredentials, Plasma::UnknownCredentials, 131},
    {sipName_UnknownStatus, Plasma::UnknownStatus, 79},
    {sipName_Up, Plasma::Up, 59},
    {sipName_UserImmutable, Plasma::UserImmutable, 76},
    {sipName_ValidCredentials, Plasma::ValidCredentials, 131},
    {sipName_Vertical, Plasma::Vertical, 67},
    {sipName_VerticalFlip, Plasma::VerticalFlip, 66},
    {sipName_WallpaperComponent, Plasma::WallpaperComponent, 35},
    {sipName_ZeroconfAnnouncement, Plasma::ZeroconfAnnouncement, 17},
    {sipName_ZoomIn, Plasma::ZoomIn, 142},
    {sipName_ZoomOut, Plasma::ZoomOut, 142},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Plasma,
        {0}
    },
    {
        sipNameNr_Plasma,
        {0, 0, 1},
        14, methods_Plasma,
        88, enummembers_Plasma,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
