/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:22:23 2009
 */

#include "sipAPIplasma.h"

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

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipplasmapart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 22 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 25 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 28 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "sipplasmapart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37 "sipplasmapart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 68 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 71 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 74 "sipplasmapart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 77 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 80 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 83 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 86 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 92 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 95 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 98 "sipplasmapart7.cpp"


extern "C" {static PyObject *meth_Plasma_Animator_self(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_self(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Plasma::Animator *sipRes;

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_animateItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_animateItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Animation a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8E",&sipSelf,sipType_Plasma_Animator,&sipCpp,sipType_QGraphicsItem,&a0,sipType_Plasma_Animator_Animation,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animateItem(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_animateItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopItemAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopItemAnimation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopItemAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_stopItemAnimation);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_moveItem(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_moveItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Movement a1;
        const QPoint * a2;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8EJ9",&sipSelf,sipType_Plasma_Animator,&sipCpp,sipType_QGraphicsItem,&a0,sipType_Plasma_Animator_Movement,&a1,sipType_QPoint,&a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->moveItem(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_moveItem);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopItemMovement(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopItemMovement(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopItemMovement(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_stopItemMovement);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_customAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_customAnimation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        Plasma::Animator::CurveShape a2;
        QObject * a3;
        const char * a4;
        PyObject *a4Keep;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiiEJ8AA",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0,&a1,sipType_Plasma_Animator_CurveShape,&a2,sipType_QObject,&a3,&a4Keep,&a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->customAnimation(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            Py_DECREF(a4Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_customAnimation);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopCustomAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopCustomAnimation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopCustomAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_stopCustomAnimation);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_animateElement(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_animateElement(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QGraphicsItem * a0;
        Plasma::Animator::Animation a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8E",&sipSelf,sipType_Plasma_Animator,&sipCpp,sipType_QGraphicsItem,&a0,sipType_Plasma_Animator_Animation,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->animateElement(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_animateElement);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_stopElementAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_stopElementAnimation(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stopElementAnimation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_stopElementAnimation);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_setInitialPixmap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_setInitialPixmap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        const QPixmap * a1;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ9",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0,sipType_QPixmap,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInitialPixmap(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_setInitialPixmap);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_currentPixmap(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_currentPixmap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_Plasma_Animator,&sipCpp,&a0))
        {
            QPixmap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->currentPixmap(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_currentPixmap);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Animator_isAnimating(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Animator_isAnimating(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Animator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Plasma_Animator,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAnimating();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Animator,sipName_isAnimating);

    return NULL;
}


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

    if (targetType == sipType_Plasma_Animator)
        return ptr;

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

    return NULL;
}


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


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


static PyMethodDef methods_Plasma_Animator[] = {
    {SIP_MLNAME_CAST(sipName_animateElement), meth_Plasma_Animator_animateElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animateItem), meth_Plasma_Animator_animateItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentPixmap), meth_Plasma_Animator_currentPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customAnimation), meth_Plasma_Animator_customAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAnimating), meth_Plasma_Animator_isAnimating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveItem), meth_Plasma_Animator_moveItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_Animator_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInitialPixmap), meth_Plasma_Animator_setInitialPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopCustomAnimation), meth_Plasma_Animator_stopCustomAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopElementAnimation), meth_Plasma_Animator_stopElementAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopItemAnimation), meth_Plasma_Animator_stopItemAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stopItemMovement), meth_Plasma_Animator_stopItemMovement, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Animator[] = {
    {sipName_ActivateAnimation, Plasma::Animator::ActivateAnimation, 7},
    {sipName_AppearAnimation, Plasma::Animator::AppearAnimation, 7},
    {sipName_DisappearAnimation, Plasma::Animator::DisappearAnimation, 7},
    {sipName_EaseInCurve, Plasma::Animator::EaseInCurve, 8},
    {sipName_EaseInOutCurve, Plasma::Animator::EaseInOutCurve, 8},
    {sipName_EaseOutCurve, Plasma::Animator::EaseOutCurve, 8},
    {sipName_FastSlideInMovement, Plasma::Animator::FastSlideInMovement, 9},
    {sipName_FastSlideOutMovement, Plasma::Animator::FastSlideOutMovement, 9},
    {sipName_LinearCurve, Plasma::Animator::LinearCurve, 8},
    {sipName_SlideInMovement, Plasma::Animator::SlideInMovement, 9},
    {sipName_SlideOutMovement, Plasma::Animator::SlideOutMovement, 9},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Plasma_Animator[] = {
    {"customAnimationFinished(int)", 0},
    {"elementAnimationFinished(int)", 0},
    {"movementFinished(QGraphicsItem *)", 0},
    {"animationFinished(QGraphicsItem *,Plasma::Animator::Animation)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_Animator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Animator,
        {0}
    },
    sipNameNr_Animator,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_Animator,
    0,
    12, methods_Plasma_Animator,
    11, enummembers_Plasma_Animator,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_Plasma_Animator,
    cast_Plasma_Animator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::Animator::staticMetaObject,
    0,
    pyqt4_signals_Plasma_Animator
};

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

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 557 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 560 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 563 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 566 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 569 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 572 "sipplasmapart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 575 "sipplasmapart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 578 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 581 "sipplasmapart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 612 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 615 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 618 "sipplasmapart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 621 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 624 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 627 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 630 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 633 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 636 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 639 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 642 "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
{
    extern int sipVH_plasma_24(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_24(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationFps(Plasma::Animator::Movement a0) const
{
    extern int sipVH_plasma_25(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    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);

    return sipVH_plasma_25(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationFps(Plasma::Animator::Animation a0) const
{
    extern int sipVH_plasma_24(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_24(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::animationDuration(Plasma::Animator::Animation a0) const
{
    extern int sipVH_plasma_24(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_24(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::movementAnimationDuration(Plasma::Animator::Movement a0) const
{
    extern int sipVH_plasma_25(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    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);

    return sipVH_plasma_25(sipGILState,meth,a0);
}

int sipPlasma_AnimationDriver::elementAnimationDuration(Plasma::Animator::Animation a0) const
{
    extern int sipVH_plasma_24(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_24(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::animationCurve(Plasma::Animator::Animation a0) const
{
    extern Plasma::Animator::CurveShape sipVH_plasma_22(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_22(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::movementAnimationCurve(Plasma::Animator::Movement a0) const
{
    extern Plasma::Animator::CurveShape sipVH_plasma_23(sip_gilstate_t,PyObject *,Plasma::Animator::Movement);

    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);

    return sipVH_plasma_23(sipGILState,meth,a0);
}

Plasma::Animator::CurveShape sipPlasma_AnimationDriver::elementAnimationCurve(Plasma::Animator::Animation a0) const
{
    extern Plasma::Animator::CurveShape sipVH_plasma_22(sip_gilstate_t,PyObject *,Plasma::Animator::Animation);

    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);

    return sipVH_plasma_22(sipGILState,meth,a0);
}

QPixmap sipPlasma_AnimationDriver::elementAppear(qreal a0,const QPixmap& a1)
{
    extern QPixmap sipVH_plasma_21(sip_gilstate_t,PyObject *,double,const QPixmap&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QPixmap sipPlasma_AnimationDriver::elementDisappear(qreal a0,const QPixmap& a1)
{
    extern QPixmap sipVH_plasma_21(sip_gilstate_t,PyObject *,double,const QPixmap&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::itemAppear(qreal a0,QGraphicsItem *a1)
{
    extern void sipVH_plasma_20(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::itemDisappear(qreal a0,QGraphicsItem *a1)
{
    extern void sipVH_plasma_20(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::itemActivated(qreal a0,QGraphicsItem *a1)
{
    extern void sipVH_plasma_20(sip_gilstate_t,PyObject *,double,QGraphicsItem *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    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;
    }

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

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

    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;
    }

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

bool sipPlasma_AnimationDriver::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_AnimationDriver::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AnimationDriver::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(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)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

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

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 1166 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AnimationDriver,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AnimationDriver,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AnimationDriver,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_AnimationDriver,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipPlasma_AnimationDriver *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_AnimationDriver,sipName_disconnectNotify);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_animationFps);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_movementAnimationFps);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_elementAnimationFps);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_animationDuration);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_movementAnimationDuration);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_elementAnimationDuration);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_animationCurve);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_movementAnimationCurve);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_elementAnimationCurve);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_elementAppear);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_elementDisappear);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_itemAppear);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_itemDisappear);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_itemActivated);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_itemSlideIn);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AnimationDriver,sipName_itemSlideOut);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 **, int *);}
static void *init_Plasma_AnimationDriver(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_AnimationDriver *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AnimationDriver(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_AnimationDriver[] = {{111, 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 pyqt4Type_plasma_Plasma_AnimationDriver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AnimationDriver,
        {0}
    },
    sipNameNr_AnimationDriver,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_AnimationDriver,
    0,
    22, methods_Plasma_AnimationDriver,
    0, 0,
    0, 0,
    init_Plasma_AnimationDriver,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AnimationDriver,
    release_Plasma_AnimationDriver,
    cast_Plasma_AnimationDriver,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::AnimationDriver::staticMetaObject,
    0,
    0
};

#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 1934 "sipplasmapart7.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1938 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1941 "sipplasmapart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1972 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1975 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1978 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1981 "sipplasmapart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1984 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1987 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1990 "sipplasmapart7.cpp"
#line 84 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2011 "sipplasmapart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 2014 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnersyntax.sip"
#include <plasma/runnersyntax.h>
#line 2017 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 2020 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 2023 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 2026 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/querymatch.sip"
#include <plasma/querymatch.h>
#line 2029 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/signalplotter.sip"
#include <plasma/widgets/signalplotter.h>
#line 2032 "sipplasmapart7.cpp"
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 2041 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 2044 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 2047 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2050 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2053 "sipplasmapart7.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2114 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2117 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2120 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2123 "sipplasmapart7.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2126 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 2129 "sipplasmapart7.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2134 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2137 "sipplasmapart7.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2140 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 2143 "sipplasmapart7.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2146 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 2149 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 2152 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 2155 "sipplasmapart7.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 2158 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 2163 "sipplasmapart7.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 2166 "sipplasmapart7.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 2169 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 2172 "sipplasmapart7.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 2175 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 2180 "sipplasmapart7.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 2185 "sipplasmapart7.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 2190 "sipplasmapart7.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 2195 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 2198 "sipplasmapart7.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 2201 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 2204 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 2207 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 2210 "sipplasmapart7.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2263 "sipplasmapart7.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2266 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 2269 "sipplasmapart7.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 2272 "sipplasmapart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2275 "sipplasmapart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2278 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 2281 "sipplasmapart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2284 "sipplasmapart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2287 "sipplasmapart7.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 2290 "sipplasmapart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2293 "sipplasmapart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 2296 "sipplasmapart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2299 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2302 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 2305 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2308 "sipplasmapart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 2311 "sipplasmapart7.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2314 "sipplasmapart7.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2317 "sipplasmapart7.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2320 "sipplasmapart7.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2323 "sipplasmapart7.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 2338 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 2341 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 2344 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 2347 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 2350 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 2353 "sipplasmapart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 2356 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 2359 "sipplasmapart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2362 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 2365 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/package.sip"
#include <plasma/package.h>
#line 2368 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2371 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnercontext.sip"
#include <plasma/runnercontext.h>
#line 2374 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2377 "sipplasmapart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2380 "sipplasmapart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2383 "sipplasmapart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2386 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2389 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2392 "sipplasmapart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2395 "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_setSyntaxes(const QList<Plasma::RunnerSyntax>&);
    void sipProtect_init();

    /*
     * 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)
{
    extern void sipVH_plasma_4(sip_gilstate_t,PyObject *,Plasma::RunnerContext&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::AbstractRunner::match(a0);
        return;
    }

    sipVH_plasma_4(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::createRunOptions(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::AbstractRunner::createRunOptions(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_plasma_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::run(const Plasma::RunnerContext& a0,const Plasma::QueryMatch& a1)
{
    extern void sipVH_plasma_3(sip_gilstate_t,PyObject *,const Plasma::RunnerContext&,const Plasma::QueryMatch&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::AbstractRunner::run(a0,a1);
        return;
    }

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

void sipPlasma_AbstractRunner::reloadConfiguration()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Plasma::AbstractRunner::reloadConfiguration();
        return;
    }

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

QList<QAction *> sipPlasma_AbstractRunner::actionsForMatch(const Plasma::QueryMatch& a0)
{
    extern QList<QAction *> sipVH_plasma_26(sip_gilstate_t,PyObject *,const Plasma::QueryMatch&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Plasma::AbstractRunner::actionsForMatch(a0);

    return sipVH_plasma_26(sipGILState,meth,a0);
}

bool sipPlasma_AbstractRunner::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_plasma_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipPlasma_AbstractRunner::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AbstractRunner::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AbstractRunner::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_plasma_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipPlasma_AbstractRunner::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AbstractRunner::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipPlasma_AbstractRunner::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(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_setSyntaxes(const QList<Plasma::RunnerSyntax>& a0)
{
    Plasma::AbstractRunner::setSyntaxes(a0);
}

void sipPlasma_AbstractRunner::sipProtect_init()
{
    Plasma::AbstractRunner::init();
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_receivers(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Plasma_AbstractRunner,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 2836 "sipplasmapart7.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AbstractRunner,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AbstractRunner,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&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(sipArgsParsed,sipName_AbstractRunner,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_AbstractRunner,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&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(sipArgsParsed,sipName_AbstractRunner,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_match(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_match(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::RunnerContext * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_match);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_performMatch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_performMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::RunnerContext * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_performMatch);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_hasRunOptions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_hasRunOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_hasRunOptions);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_createRunOptions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_createRunOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_createRunOptions);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_run(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_run(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::RunnerContext * a0;
        const Plasma::QueryMatch * a1;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_run);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_speed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_speed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_speed);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_priority(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_priority(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_priority);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_ignoredTypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_ignoredTypes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_ignoredTypes);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_setIgnoredTypes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_setIgnoredTypes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::RunnerContext::Types * a0;
        int a0State = 0;
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_setIgnoredTypes);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_id(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_id(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_id);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_description(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_description(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_description);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_icon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_icon);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_package(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_package(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_package);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_reloadConfiguration(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_reloadConfiguration(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_reloadConfiguration);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_syntaxes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_syntaxes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200Plasma_RunnerSyntax,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AbstractRunner,sipName_syntaxes);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_bigLock(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_bigLock(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_AbstractRunner,sipName_bigLock);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_config(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_AbstractRunner,sipName_config);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_setHasRunOptions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_setHasRunOptions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&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(sipArgsParsed,sipName_AbstractRunner,sipName_setHasRunOptions);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_setSpeed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_setSpeed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner::Speed a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&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(sipArgsParsed,sipName_AbstractRunner,sipName_setSpeed);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_setPriority(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_setPriority(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::AbstractRunner::Priority a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&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(sipArgsParsed,sipName_AbstractRunner,sipName_setPriority);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_serviceQuery(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_serviceQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|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);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_27000600KSharedPtr_0200KService,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AbstractRunner,sipName_serviceQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_actionsForMatch(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_actionsForMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const Plasma::QueryMatch * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0201QAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AbstractRunner,sipName_actionsForMatch);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_addAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_addAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QIcon * a1;
        const QString * a2;
        int a2State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J9J1",&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(&sipArgsParsed,sipArgs,"pJ1J8",&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(sipArgsParsed,sipName_AbstractRunner,sipName_addAction);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_removeAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_removeAction(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_AbstractRunner,sipName_removeAction);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_action(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_AbstractRunner,sipName_action);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_actions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_actions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QHash_0200QString_0201QAction,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AbstractRunner,sipName_actions);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_clearActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_clearActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_AbstractRunner,sipName_clearActions);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_addSyntax(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_addSyntax(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const Plasma::RunnerSyntax * a0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_AbstractRunner,sipName_addSyntax);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_setSyntaxes(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_setSyntaxes(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QList<Plasma::RunnerSyntax> * a0;
        int a0State = 0;
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Plasma_AbstractRunner,&sipCpp,sipType_QList_0200Plasma_RunnerSyntax,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setSyntaxes(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<Plasma::RunnerSyntax> *>(a0),sipType_QList_0200Plasma_RunnerSyntax,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AbstractRunner,sipName_setSyntaxes);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_AbstractRunner_init(PyObject *, PyObject *);}
static PyObject *meth_Plasma_AbstractRunner_init(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipPlasma_AbstractRunner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_AbstractRunner,sipName_init);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 **, int *);}
static void *init_Plasma_AbstractRunner(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipPlasma_AbstractRunner *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|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);
        }
    }

    if (!sipCpp)
    {
        QObject * a0;
        const QVariantList * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"JHJ1",sipType_QObject,&a0,sipOwner,sipType_QList_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_AbstractRunner(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0200QVariant,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Plasma_AbstractRunner[] = {{111, 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_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_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},
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma_AbstractRunner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__AbstractRunner,
        {0}
    },
    sipNameNr_AbstractRunner,
    -1,
    -1,
    {1, 255, 0},
    supers_Plasma_AbstractRunner,
    0,
    37, methods_Plasma_AbstractRunner,
    7, enummembers_Plasma_AbstractRunner,
    0, 0,
    init_Plasma_AbstractRunner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_AbstractRunner,
    release_Plasma_AbstractRunner,
    cast_Plasma_AbstractRunner,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Plasma::AbstractRunner::staticMetaObject,
    0,
    0
};


#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 4080 "sipplasmapart7.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4083 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4086 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/appletscript.sip"
#include <plasma/scripting/appletscript.h>
#line 4089 "sipplasmapart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4092 "sipplasmapart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 4095 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dataenginescript.sip"
#include <plasma/scripting/dataenginescript.h>
#line 4098 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 4101 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/runnerscript.sip"
#include <plasma/scripting/runnerscript.h>
#line 4104 "sipplasmapart7.cpp"
#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/abstractrunner.sip"
#include <plasma/abstractrunner.h>
#line 4107 "sipplasmapart7.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 4110 "sipplasmapart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 4113 "sipplasmapart7.cpp"


extern "C" {static PyObject *meth_Plasma_isPluginVersionCompatible(PyObject *,PyObject *);}
static PyObject *meth_Plasma_isPluginVersionCompatible(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_isPluginVersionCompatible);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_versionString(PyObject *,PyObject *);}
static PyObject *meth_Plasma_versionString(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_versionString);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_versionRelease(PyObject *,PyObject *);}
static PyObject *meth_Plasma_versionRelease(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_versionRelease);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_versionMinor(PyObject *,PyObject *);}
static PyObject *meth_Plasma_versionMinor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_versionMinor);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_versionMajor(PyObject *,PyObject *);}
static PyObject *meth_Plasma_versionMajor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_versionMajor);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_version(PyObject *,PyObject *);}
static PyObject *meth_Plasma_version(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_version);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_packageStructure(PyObject *,PyObject *);}
static PyObject *meth_Plasma_packageStructure(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::ComponentType a1;

        if (sipParseArgs(&sipArgsParsed,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);

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_KSharedPtr_0200Plasma_PackageStructure,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_packageStructure);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_loadScriptEngine(PyObject *,PyObject *);}
static PyObject *meth_Plasma_loadScriptEngine(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Plasma::Applet * a1;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_loadScriptEngine);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_knownLanguages(PyObject *,PyObject *);}
static PyObject *meth_Plasma_knownLanguages(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ComponentTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_knownLanguages);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_viewFor(PyObject *,PyObject *);}
static PyObject *meth_Plasma_viewFor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QGraphicsItem * a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_viewFor);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_locationToInverseDirection(PyObject *,PyObject *);}
static PyObject *meth_Plasma_locationToInverseDirection(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Location a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_locationToInverseDirection);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_locationToDirection(PyObject *,PyObject *);}
static PyObject *meth_Plasma_locationToDirection(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::Location a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_locationToDirection);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_scalingFactor(PyObject *,PyObject *);}
static PyObject *meth_Plasma_scalingFactor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Plasma::ZoomLevel a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_scalingFactor);

    return NULL;
}


static PyMethodDef methods_Plasma[] = {
    {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_AlignToHour, Plasma::AlignToHour, 59},
    {sipName_AlignToMinute, Plasma::AlignToMinute, 59},
    {sipName_AllConstraints, Plasma::AllConstraints, 22},
    {sipName_AnimatorComponent, Plasma::AnimatorComponent, 19},
    {sipName_AppletComponent, Plasma::AppletComponent, 19},
    {sipName_AppletType, Plasma::AppletType, 60},
    {sipName_BottomEdge, Plasma::BottomEdge, 63},
    {sipName_BottomMargin, Plasma::BottomMargin, 64},
    {sipName_BottomPosedLeftAlignedPopup, Plasma::BottomPosedLeftAlignedPopup, 75},
    {sipName_BottomPosedRightAlignedPopup, Plasma::BottomPosedRightAlignedPopup, 75},
    {sipName_BottomPositioned, Plasma::BottomPositioned, 76},
    {sipName_ButtonCancel, Plasma::ButtonCancel, 65},
    {sipName_ButtonNo, Plasma::ButtonNo, 65},
    {sipName_ButtonNone, Plasma::ButtonNone, 65},
    {sipName_ButtonOk, Plasma::ButtonOk, 65},
    {sipName_ButtonYes, Plasma::ButtonYes, 65},
    {sipName_CenterPositioned, Plasma::CenterPositioned, 76},
    {sipName_ConstrainedSquare, Plasma::ConstrainedSquare, 15},
    {sipName_ContainmentComponent, Plasma::ContainmentComponent, 19},
    {sipName_ContextConstraint, Plasma::ContextConstraint, 22},
    {sipName_DataEngineComponent, Plasma::DataEngineComponent, 19},
    {sipName_Desktop, Plasma::Desktop, 63},
    {sipName_DesktopZoom, Plasma::DesktopZoom, 117},
    {sipName_Down, Plasma::Down, 41},
    {sipName_FixedSize, Plasma::FixedSize, 15},
    {sipName_Floating, Plasma::Floating, 63},
    {sipName_FloatingPopup, Plasma::FloatingPopup, 75},
    {sipName_FormFactorConstraint, Plasma::FormFactorConstraint, 22},
    {sipName_FullScreen, Plasma::FullScreen, 63},
    {sipName_GroupZoom, Plasma::GroupZoom, 117},
    {sipName_Horizontal, Plasma::Horizontal, 49},
    {sipName_HorizontalFlip, Plasma::HorizontalFlip, 48},
    {sipName_IgnoreAspectRatio, Plasma::IgnoreAspectRatio, 15},
    {sipName_ImmutableConstraint, Plasma::ImmutableConstraint, 22},
    {sipName_InvalidAspectRatioMode, Plasma::InvalidAspectRatioMode, 15},
    {sipName_KeepAspectRatio, Plasma::KeepAspectRatio, 15},
    {sipName_Left, Plasma::Left, 41},
    {sipName_LeftEdge, Plasma::LeftEdge, 63},
    {sipName_LeftMargin, Plasma::LeftMargin, 64},
    {sipName_LeftPosedBottomAlignedPopup, Plasma::LeftPosedBottomAlignedPopup, 75},
    {sipName_LeftPosedTopAlignedPopup, Plasma::LeftPosedTopAlignedPopup, 75},
    {sipName_LeftPositioned, Plasma::LeftPositioned, 76},
    {sipName_LineEditType, Plasma::LineEditType, 60},
    {sipName_LocationConstraint, Plasma::LocationConstraint, 22},
    {sipName_MediaCenter, Plasma::MediaCenter, 49},
    {sipName_Mutable, Plasma::Mutable, 58},
    {sipName_NoAlignment, Plasma::NoAlignment, 59},
    {sipName_NoConstraint, Plasma::NoConstraint, 22},
    {sipName_NoFlip, Plasma::NoFlip, 48},
    {sipName_OverviewZoom, Plasma::OverviewZoom, 117},
    {sipName_Planar, Plasma::Planar, 49},
    {sipName_Right, Plasma::Right, 41},
    {sipName_RightEdge, Plasma::RightEdge, 63},
    {sipName_RightMargin, Plasma::RightMargin, 64},
    {sipName_RightPosedBottomAlignedPopup, Plasma::RightPosedBottomAlignedPopup, 75},
    {sipName_RightPosedTopAlignedPopup, Plasma::RightPosedTopAlignedPopup, 75},
    {sipName_RightPositioned, Plasma::RightPositioned, 76},
    {sipName_RunnerComponent, Plasma::RunnerComponent, 19},
    {sipName_ScreenConstraint, Plasma::ScreenConstraint, 22},
    {sipName_SizeConstraint, Plasma::SizeConstraint, 22},
    {sipName_Square, Plasma::Square, 15},
    {sipName_StartupCompletedConstraint, Plasma::StartupCompletedConstraint, 22},
    {sipName_SystemImmutable, Plasma::SystemImmutable, 58},
    {sipName_TopEdge, Plasma::TopEdge, 63},
    {sipName_TopMargin, Plasma::TopMargin, 64},
    {sipName_TopPosedLeftAlignedPopup, Plasma::TopPosedLeftAlignedPopup, 75},
    {sipName_TopPosedRightAlignedPopup, Plasma::TopPosedRightAlignedPopup, 75},
    {sipName_TopPositioned, Plasma::TopPositioned, 76},
    {sipName_Up, Plasma::Up, 41},
    {sipName_UserImmutable, Plasma::UserImmutable, 58},
    {sipName_Vertical, Plasma::Vertical, 49},
    {sipName_VerticalFlip, Plasma::VerticalFlip, 48},
    {sipName_ZoomIn, Plasma::ZoomIn, 116},
    {sipName_ZoomOut, Plasma::ZoomOut, 116},
};


pyqt4ClassTypeDef pyqt4Type_plasma_Plasma = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Plasma,
        {0}
    },
    sipNameNr_Plasma,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    13, methods_Plasma,
    74, enummembers_Plasma,
    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, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
