/*
 * Module code.
 *
 * Generated by SIP 4.19.3
 */

#include "sipAPIplasma.h"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/svg.sip"
#include <plasma/svg.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Svg : public  ::Plasma::Svg
{
public:
    sipPlasma_Svg( ::QObject*);
    virtual ~sipPlasma_Svg();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

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

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

const QMetaObject *sipPlasma_Svg::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Svg);
}

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

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

    return _id;
}

void *sipPlasma_Svg::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Svg, _clname)) ? this :  ::Plasma::Svg::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Svg::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Svg::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Svg::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->pixmap(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
         ::QPainter* a0;
        const  ::QPointF* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1|J1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QPainter, &a0, sipType_QPointF, &a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPainter* a0;
        int a1;
        int a2;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8ii|J1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QPainter, &a0, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPainter* a0;
        const  ::QRectF* a1;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9|J1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8iiii|J1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QString,&a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,a1,a2,a3,a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize(sipCpp->size());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::qreal a0;
         ::qreal a1;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_Plasma_Svg, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QSizeF* a0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QSizeF, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Plasma::Svg *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize(sipCpp->elementSize(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRectF(sipCpp->elementRect(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasElement(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QPoint* a0;
        const  ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_QPoint, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->elementAtPoint(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Svg, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainsMultipleImages(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containsMultipleImages();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->imagePath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_Svg, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsingRenderingCache(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUsingRenderingCache();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Theme* a0;
         ::Plasma::Svg *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Svg, &sipCpp, sipType_Plasma_Theme, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTheme(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Svg *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->theme();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QObject* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_Svg[] = {
    {SIP_MLNAME_CAST(sipName_containsMultipleImages), meth_Plasma_Svg_containsMultipleImages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementAtPoint), meth_Plasma_Svg_elementAtPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementRect), meth_Plasma_Svg_elementRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elementSize), meth_Plasma_Svg_elementSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasElement), meth_Plasma_Svg_hasElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_imagePath), meth_Plasma_Svg_imagePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUsingRenderingCache), meth_Plasma_Svg_isUsingRenderingCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_Svg_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Svg_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_Plasma_Svg_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resize), meth_Plasma_Svg_resize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainsMultipleImages), meth_Plasma_Svg_setContainsMultipleImages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImagePath), meth_Plasma_Svg_setImagePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTheme), meth_Plasma_Svg_setTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsingRenderingCache), meth_Plasma_Svg_setUsingRenderingCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_Plasma_Svg_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_theme), meth_Plasma_Svg_theme, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Svg[] = {
    {"sizeChanged()", 0, 0, 0},
    {"repaintNeeded()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_Svg = {
    & ::Plasma::Svg::staticMetaObject,
    0,
    signals_Plasma_Svg
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Svg = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Svg,
        {0},
        &plugin_Plasma_Svg
    },
    {
        sipNameNr_Svg,
        {1, 255, 0},
        17, methods_Plasma_Svg,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Svg,
    0,
    init_type_Plasma_Svg,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Svg,
    0,
    0,
    0,
    release_Plasma_Svg,
    cast_Plasma_Svg,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 1001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 1019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 1109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 1145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 1196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_ExtenderGroup : public  ::Plasma::ExtenderGroup
{
public:
    sipPlasma_ExtenderGroup( ::Plasma::Extender*, ::uint);
    virtual ~sipPlasma_ExtenderGroup();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

sipPlasma_ExtenderGroup::sipPlasma_ExtenderGroup( ::Plasma::Extender*a0, ::uint a1):  ::Plasma::ExtenderGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_ExtenderGroup::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ExtenderGroup);
}

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

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

    return _id;
}

void *sipPlasma_ExtenderGroup::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ExtenderGroup, _clname)) ? this :  ::Plasma::ExtenderGroup::qt_metacast(_clname);
}

void sipPlasma_ExtenderGroup::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::ungrabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::grabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::ungrabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::grabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ExtenderGroup::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderGroup::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::changeEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderGroup::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::windowFrameEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_ExtenderGroup::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_ExtenderGroup::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ExtenderGroup::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderGroup::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::sceneEventFilter(a0,a1);

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

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ExtenderGroup::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::sceneEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QVariant sipPlasma_ExtenderGroup::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderGroup::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_ExtenderGroup::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainterPath sipPlasma_ExtenderGroup::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ExtenderGroup::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderGroup::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ExtenderGroup::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ExtenderGroup::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_ExtenderGroup::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRectF sipPlasma_ExtenderGroup::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderGroup::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ExtenderGroup::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::ExtenderGroup::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        const  ::Plasma::ExtenderGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::ExtenderItem*>(sipCpp->items());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoHide();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoHide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderGroup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderGroup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupCollapsed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoCollapse();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoCollapse(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGroupCollapsed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneResizeEvent* a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::ExtenderGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderGroup::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Plasma_ExtenderItem)
        return static_cast< ::Plasma::ExtenderItem *>(sipCpp);

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

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

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::Plasma::Extender* a0;
         ::uint a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|u", sipType_Plasma_Extender, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ExtenderGroup(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_ExtenderGroup[] = {
    {SIP_MLNAME_CAST(sipName_autoHide), meth_Plasma_ExtenderGroup_autoHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collapseGroup), meth_Plasma_ExtenderGroup_collapseGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_ExtenderGroup_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_ExtenderGroup_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_ExtenderGroup_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_ExtenderGroup_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_ExtenderGroup_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_expandGroup), meth_Plasma_ExtenderGroup_expandGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAutoCollapse), meth_Plasma_ExtenderGroup_isAutoCollapse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroupCollapsed), meth_Plasma_ExtenderGroup_isGroupCollapsed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_Plasma_ExtenderGroup_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ExtenderGroup_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoCollapse), meth_Plasma_ExtenderGroup_setAutoCollapse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoHide), meth_Plasma_ExtenderGroup_setAutoHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGroupCollapsed), meth_Plasma_ExtenderGroup_setGroupCollapsed, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_Plasma_ExtenderGroup = {
    & ::Plasma::ExtenderGroup::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ExtenderGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderGroup,
        {0},
        &plugin_Plasma_ExtenderGroup
    },
    {
        sipNameNr_ExtenderGroup,
        {1, 255, 0},
        15, methods_Plasma_ExtenderGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ExtenderGroup,
    0,
    init_type_Plasma_ExtenderGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ExtenderGroup,
    0,
    0,
    0,
    release_Plasma_ExtenderGroup,
    cast_Plasma_ExtenderGroup,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 2901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 2905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 2947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 2977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 3004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 3043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 3052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 3055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 3082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 3094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 3097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_ExtenderItem : public  ::Plasma::ExtenderItem
{
public:
    sipPlasma_ExtenderItem( ::Plasma::Extender*, ::uint);
    virtual ~sipPlasma_ExtenderItem();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[59];
};

sipPlasma_ExtenderItem::sipPlasma_ExtenderItem( ::Plasma::Extender*a0, ::uint a1):  ::Plasma::ExtenderItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_ExtenderItem::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ExtenderItem);
}

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

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

    return _id;
}

void *sipPlasma_ExtenderItem::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ExtenderItem, _clname)) ? this :  ::Plasma::ExtenderItem::qt_metacast(_clname);
}

void sipPlasma_ExtenderItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_ExtenderItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_ExtenderItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_ExtenderItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderItem::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ExtenderItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_ExtenderItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_ExtenderItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_ExtenderItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ExtenderItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipPlasma_ExtenderItem::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ExtenderItem::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::sceneEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::sceneEventFilter(a0,a1);

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

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ExtenderItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ExtenderItem::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_ExtenderItem::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_ExtenderItem::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderItem::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::windowFrameEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::changeEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ExtenderItem::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::ExtenderItem::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ExtenderItem::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::grabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::ungrabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::grabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ExtenderItem::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::ExtenderItem::ungrabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KConfigGroup(sipCpp->config());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::QGraphicsItem* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->title());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QIcon* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::Plasma::Extender* a0;
        const  ::QPointF& a1def = QPointF(-1,-1);
        const  ::QPointF* a1 = &a1def;
        int a1State = 0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_Plasma_Extender, &a0, sipType_QPointF, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtender(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extender();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderGroup* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_Plasma_ExtenderGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGroup(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Plasma::ExtenderGroup* a0;
        const  ::QPointF* a1;
        int a1State = 0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_Plasma_ExtenderGroup, &a0, sipType_QPointF, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGroup(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->group();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroup();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::uint a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoExpireDelay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoExpireDelay();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDetached();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCollapsed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAction* a1;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCollapsed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QPainter* a0;
        const  ::QStyleOptionGraphicsItem* a1;
         ::QWidget* a2;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8J8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMoveEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::moveEvent(a0) : sipCpp->moveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneResizeEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMouseEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMouseEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMouseEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMouseEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneHoverEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::hoverMoveEvent(a0) : sipCpp->hoverMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneHoverEvent* a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::hoverLeaveEvent(a0) : sipCpp->hoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsItem* a0;
         ::QEvent* a1;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::sceneEventFilter(a0,a1) : sipCpp->sceneEventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::Qt::SizeHint a0;
        const  ::QSizeF* a1;
        const  ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ9", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
             ::QSizeF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSizeF((sipSelfWasArg ? sipCpp-> ::Plasma::ExtenderItem::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
         ::Plasma::ExtenderItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_ExtenderItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTransient(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::ExtenderItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTransient();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

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

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::Plasma::Extender* a0;
         ::uint a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|u", sipType_Plasma_Extender, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ExtenderItem(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_ExtenderItem[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_ExtenderItem_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_ExtenderItem_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoExpireDelay), meth_Plasma_ExtenderItem_autoExpireDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_ExtenderItem_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Plasma_ExtenderItem_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extender), meth_Plasma_ExtenderItem_extender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_Plasma_ExtenderItem_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideCloseButton), meth_Plasma_ExtenderItem_hideCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), meth_Plasma_ExtenderItem_hoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), meth_Plasma_ExtenderItem_hoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_ExtenderItem_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCollapsed), meth_Plasma_ExtenderItem_isCollapsed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_Plasma_ExtenderItem_isDetached, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroup), meth_Plasma_ExtenderItem_isGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTransient), meth_Plasma_ExtenderItem_isTransient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Plasma_ExtenderItem_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_ExtenderItem_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_ExtenderItem_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_ExtenderItem_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_ExtenderItem_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_ExtenderItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_ExtenderItem_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_ExtenderItem_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_returnToSource), meth_Plasma_ExtenderItem_returnToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), meth_Plasma_ExtenderItem_sceneEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoExpireDelay), meth_Plasma_ExtenderItem_setAutoExpireDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCollapsed), meth_Plasma_ExtenderItem_setCollapsed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtender), meth_Plasma_ExtenderItem_setExtender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGroup), meth_Plasma_ExtenderItem_setGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_ExtenderItem_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_ExtenderItem_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_Plasma_ExtenderItem_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTransient), meth_Plasma_ExtenderItem_setTransient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_Plasma_ExtenderItem_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showCloseButton), meth_Plasma_ExtenderItem_showCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_ExtenderItem_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_Plasma_ExtenderItem_title, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Plasma_ExtenderItem_widget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_ExtenderItem[] = {
    {"destroyed(Plasma::ExtenderItem*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_ExtenderItem = {
    & ::Plasma::ExtenderItem::staticMetaObject,
    0,
    signals_Plasma_ExtenderItem
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ExtenderItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderItem,
        {0},
        &plugin_Plasma_ExtenderItem
    },
    {
        sipNameNr_ExtenderItem,
        {1, 255, 0},
        38, methods_Plasma_ExtenderItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ExtenderItem,
    0,
    init_type_Plasma_ExtenderItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ExtenderItem,
    0,
    0,
    0,
    release_Plasma_ExtenderItem,
    cast_Plasma_ExtenderItem,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 5506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 5519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 5531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 5540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 5579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 5618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 5657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1138 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 5666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 5690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 5693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 5708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 5711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Extender : public  ::Plasma::Extender
{
public:
    sipPlasma_Extender( ::Plasma::Applet*);
    virtual ~sipPlasma_Extender();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[66];
};

sipPlasma_Extender::sipPlasma_Extender( ::Plasma::Applet*a0):  ::Plasma::Extender(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_Extender::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Extender);
}

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

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

    return _id;
}

void *sipPlasma_Extender::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Extender, _clname)) ? this :  ::Plasma::Extender::qt_metacast(_clname);
}

 ::Plasma::FrameSvg::EnabledBorders sipPlasma_Extender::enabledBordersForItem( ::Plasma::ExtenderItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::enabledBordersForItem(a0);

    extern  ::Plasma::FrameSvg::EnabledBorders sipVH_plasma_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*);

    return sipVH_plasma_103(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::saveState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::saveState();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Extender::itemHoverLeaveEvent( ::Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::itemHoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*);

    sipVH_plasma_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::itemHoverMoveEvent( ::Plasma::ExtenderItem*a0,const  ::QPointF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::itemHoverMoveEvent(a0,a1);
        return;
    }

    extern void sipVH_plasma_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*,const  ::QPointF&);

    sipVH_plasma_102(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Extender::itemHoverEnterEvent( ::Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::itemHoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*);

    sipVH_plasma_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::itemRemovedEvent( ::Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::itemRemovedEvent(a0);
        return;
    }

    extern void sipVH_plasma_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*);

    sipVH_plasma_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::itemAddedEvent( ::Plasma::ExtenderItem*a0,const  ::QPointF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::itemAddedEvent(a0,a1);
        return;
    }

    extern void sipVH_plasma_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Plasma::ExtenderItem*,const  ::QPointF&);

    sipVH_plasma_102(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Extender::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
         ::Plasma::Extender::advance(a0);
        return;
    }

    extern void sipVH_plasma_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_plasma_41(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRectF sipPlasma_Extender::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::boundingRect();

    extern  ::QRectF sipVH_plasma_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_40(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPainterPath sipPlasma_Extender::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::shape();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipPlasma_Extender::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::contains(a0);

    extern bool sipVH_plasma_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_39(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Extender::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::collidesWithItem(a0,a1);

    extern bool sipVH_plasma_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

    return sipVH_plasma_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Extender::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::collidesWithPath(a0,a1);

    extern bool sipVH_plasma_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

    return sipVH_plasma_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Extender::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return  ::Plasma::Extender::isObscuredBy(a0);

    extern bool sipVH_plasma_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_plasma_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipPlasma_Extender::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return  ::Plasma::Extender::opaqueArea();

    extern  ::QPainterPath sipVH_plasma_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_35(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::Plasma::Extender::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipPlasma_Extender::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Extender::type();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Extender::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_plasma_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipPlasma_Extender::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Extender::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return  ::Plasma::Extender::itemChange(a0,a1);

    extern  ::QVariant sipVH_plasma_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

    return sipVH_plasma_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Extender::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Extender::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return  ::Plasma::Extender::sceneEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Extender::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return  ::Plasma::Extender::sceneEventFilter(a0,a1);

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

    return sipVH_plasma_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Extender::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Extender::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Extender::sizeHint(a0,a1);

    extern  ::QSizeF sipVH_plasma_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::SizeHint,const  ::QSizeF&);

    return sipVH_plasma_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Extender::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
         ::Plasma::Extender::updateGeometry();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
    {
         ::Plasma::Extender::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qreal*, ::qreal*, ::qreal*, ::qreal*);

    sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipPlasma_Extender::setGeometry(const  ::QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::Plasma::Extender::setGeometry(a0);
        return;
    }

    extern void sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRectF&);

    sipVH_plasma_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
         ::Plasma::Extender::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_19(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Extender::initStyleOption( ::QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Extender::initStyleOption(a0);
        return;
    }

    extern void sipVH_plasma_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOption*);

    sipVH_plasma_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Extender::windowFrameEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return  ::Plasma::Extender::windowFrameEvent(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Extender::windowFrameSectionAt(a0);

    extern  ::Qt::WindowFrameSection sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_plasma_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::changeEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Extender::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::Extender::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::moveEvent( ::QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMoveEvent*);

    sipVH_plasma_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::polishEvent();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Extender::resizeEvent( ::QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneResizeEvent*);

    sipVH_plasma_12(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::grabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::grabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::ungrabMouseEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::ungrabMouseEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::grabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::grabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Extender::ungrabKeyboardEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
         ::Plasma::Extender::ungrabKeyboardEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->emptyExtenderMessage());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::ExtenderItem*>(sipCpp->items());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::ExtenderItem*>(sipCpp->attachedItems());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::ExtenderItem*>(sipCpp->detachedItems());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::ExtenderItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->item(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::ExtenderGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->group(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Extender::Appearance a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_Extender_Appearance, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAppearance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Extender, &sipCpp))
        {
             ::Plasma::Extender::Appearance sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->appearance();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_Extender_Appearance);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::ExtenderGroup*>(sipCpp->groups());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
        const  ::QPointF& a1def = QPointF(-1,-1);
        const  ::QPointF* a1 = &a1def;
        int a1State = 0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8|J1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0, sipType_QPointF, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemAddedEvent(a0,*a1) : sipCpp->itemAddedEvent(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemRemovedEvent(a0) : sipCpp->itemRemovedEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemHoverEnterEvent(a0) : sipCpp->itemHoverEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
        const  ::QPointF* a1;
        int a1State = 0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0, sipType_QPointF, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemHoverMoveEvent(a0,*a1) : sipCpp->itemHoverMoveEvent(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemHoverLeaveEvent(a0) : sipCpp->itemHoverLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Extender, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::saveState() : sipCpp->saveState());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::ExtenderItem* a0;
        const  ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_Plasma_ExtenderItem, &a0))
        {
             ::Plasma::FrameSvg::EnabledBorders*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::FrameSvg::EnabledBorders((sipSelfWasArg ? sipCpp-> ::Plasma::Extender::enabledBordersForItem(a0) : sipCpp->enabledBordersForItem(a0)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::QGraphicsSceneResizeEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneMouseEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Extender::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QGraphicsItem::GraphicsItemChange a0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::Plasma::Extender *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_Extender, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::Plasma::Extender::itemChange(a0,*a1) : sipCpp->itemChange(a0,*a1)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

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

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

    return NULL;
}


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

    {
        const  ::Plasma::Extender *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->applet();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_QGraphicsWidget)
        return static_cast< ::QGraphicsWidget *>(sipCpp);

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

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

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QGraphicsLayoutItem)
        return static_cast< ::QGraphicsLayoutItem *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::Plasma::Applet* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_Plasma_Applet, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Extender(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_Extender[] = {
    {SIP_MLNAME_CAST(sipName_appearance), meth_Plasma_Extender_appearance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applet), meth_Plasma_Extender_applet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attachedItems), meth_Plasma_Extender_attachedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detachedItems), meth_Plasma_Extender_detachedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Extender_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Extender_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Extender_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Plasma_Extender_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emptyExtenderMessage), meth_Plasma_Extender_emptyExtenderMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledBordersForItem), meth_Plasma_Extender_enabledBordersForItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_Plasma_Extender_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groups), meth_Plasma_Extender_groups, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasItem), meth_Plasma_Extender_hasItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_Plasma_Extender_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_item), meth_Plasma_Extender_item, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAddedEvent), meth_Plasma_Extender_itemAddedEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), meth_Plasma_Extender_itemChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverEnterEvent), meth_Plasma_Extender_itemHoverEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverLeaveEvent), meth_Plasma_Extender_itemHoverLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemHoverMoveEvent), meth_Plasma_Extender_itemHoverMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemRemovedEvent), meth_Plasma_Extender_itemRemovedEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_Plasma_Extender_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Extender_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Extender_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_Plasma_Extender_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAppearance), meth_Plasma_Extender_setAppearance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmptyExtenderMessage), meth_Plasma_Extender_setEmptyExtenderMessage, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Extender[] = {
    {sipName_BottomUpStacked, static_cast<int>( ::Plasma::Extender::BottomUpStacked), 65},
    {sipName_NoBorders, static_cast<int>( ::Plasma::Extender::NoBorders), 65},
    {sipName_TopDownStacked, static_cast<int>( ::Plasma::Extender::TopDownStacked), 65},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Extender[] = {
    {"geometryChanged()", 0, 0, 0},
    {"itemDetached(Plasma::ExtenderItem*)", 0, 0, 0},
    {"itemAttached(Plasma::ExtenderItem*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_Extender = {
    & ::Plasma::Extender::staticMetaObject,
    0,
    signals_Plasma_Extender
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Extender = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Extender,
        {0},
        &plugin_Plasma_Extender
    },
    {
        sipNameNr_Extender,
        {1, 255, 0},
        27, methods_Plasma_Extender,
        3, enummembers_Plasma_Extender,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Extender,
    0,
    init_type_Plasma_Extender,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Extender,
    0,
    0,
    0,
    release_Plasma_Extender,
    cast_Plasma_Extender,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 7923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 7927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


extern "C" {static int slot_Plasma_Dialog_ResizeCorners___bool__(PyObject *);}
static int slot_Plasma_Dialog_ResizeCorners___bool__(PyObject *sipSelf)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Dialog::ResizeCorners::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 7949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ne__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Dialog::ResizeCorners::Int() != a0->operator Plasma::Dialog::ResizeCorners::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 7983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
            sipReleaseType(const_cast< ::Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma, ne_slot, sipType_Plasma_Dialog_ResizeCorners, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___eq__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Plasma::Dialog::ResizeCorners::Int() == a0->operator Plasma::Dialog::ResizeCorners::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 8023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
            sipReleaseType(const_cast< ::Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma, eq_slot, sipType_Plasma_Dialog_ResizeCorners, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = Plasma::Dialog::ResizeCorners(*sipCpp ^ a0);
#line 8062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State, &a1))
        {
             ::Plasma::Dialog::ResizeCorners*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::Dialog::ResizeCorners((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___ior__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = Plasma::Dialog::ResizeCorners(*sipCpp | a0);
#line 8136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State, &a1))
        {
             ::Plasma::Dialog::ResizeCorners*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::Dialog::ResizeCorners((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___iand__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorners)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::Plasma::Dialog::ResizeCorners::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___and__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State, &a1))
        {
             ::Plasma::Dialog::ResizeCorners*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::Dialog::ResizeCorners((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_plasma, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___invert__(PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___invert__(PyObject *sipSelf)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;


    {
        {
             ::Plasma::Dialog::ResizeCorners*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::Dialog::ResizeCorners(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_Plasma_Dialog_ResizeCorners___int__(PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___int__(PyObject *sipSelf)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Plasma_Dialog_ResizeCorners));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    delete reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Dialog_ResizeCorners(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Dialog_ResizeCorners(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Plasma::Dialog::ResizeCorners *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Plasma::Dialog::ResizeCorners *>(sipSrc);
}


extern "C" {static void *array_Plasma_Dialog_ResizeCorners(SIP_SSIZE_T);}
static void *array_Plasma_Dialog_ResizeCorners(SIP_SSIZE_T sipNrElem)
{
    return new  ::Plasma::Dialog::ResizeCorners[sipNrElem];
}


extern "C" {static void *copy_Plasma_Dialog_ResizeCorners(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Dialog_ResizeCorners(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Plasma::Dialog::ResizeCorners(reinterpret_cast<const  ::Plasma::Dialog::ResizeCorners *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Dialog_ResizeCorners(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Plasma::Dialog::ResizeCorners *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Dialog::ResizeCorners();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Dialog::ResizeCorners(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Dialog::ResizeCorners(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::Plasma::Dialog::ResizeCorners *>(a0),sipType_Plasma_Dialog_ResizeCorners,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Plasma_Dialog_ResizeCorners(PyObject *, void **, int *, PyObject *);}
static int convertTo_Plasma_Dialog_ResizeCorners(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Plasma::Dialog::ResizeCorners **sipCppPtr = reinterpret_cast< ::Plasma::Dialog::ResizeCorners **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Plasma::Dialog::ResizeCorners is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorner)) ||
            sipCanConvertToType(sipPy, sipType_Plasma_Dialog_ResizeCorners, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Plasma_Dialog_ResizeCorner)))
{
    *sipCppPtr = new Plasma::Dialog::ResizeCorners(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Plasma::Dialog::ResizeCorners *>(sipConvertToType(sipPy, sipType_Plasma_Dialog_ResizeCorners, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Plasma_Dialog_ResizeCorners[] = {
    {(void *)slot_Plasma_Dialog_ResizeCorners___bool__, bool_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ne__, ne_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___eq__, eq_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ixor__, ixor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___xor__, xor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ior__, ior_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___or__, or_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___iand__, iand_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___and__, and_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___invert__, invert_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_Plasma_Dialog_ResizeCorners = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Dialog_ResizeCorners = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog__ResizeCorners,
        {0},
        &plugin_Plasma_Dialog_ResizeCorners
    },
    {
        sipNameNr_ResizeCorners,
        {60, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Plasma_Dialog_ResizeCorners,
    init_type_Plasma_Dialog_ResizeCorners,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Dialog_ResizeCorners,
    assign_Plasma_Dialog_ResizeCorners,
    array_Plasma_Dialog_ResizeCorners,
    copy_Plasma_Dialog_ResizeCorners,
    release_Plasma_Dialog_ResizeCorners,
    0,
    convertTo_Plasma_Dialog_ResizeCorners,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 8503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 8546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 8555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 8576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 8597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 8600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 8642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 8645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 8648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 8657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 8675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Dialog : public  ::Plasma::Dialog
{
public:
    sipPlasma_Dialog( ::QWidget*, ::Qt::WindowFlags);
    virtual ~sipPlasma_Dialog();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipPlasma_Dialog::sipPlasma_Dialog( ::QWidget*a0, ::Qt::WindowFlags a1):  ::Plasma::Dialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_Dialog::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Dialog);
}

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

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

    return _id;
}

void *sipPlasma_Dialog::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Dialog, _clname)) ? this :  ::Plasma::Dialog::qt_metacast(_clname);
}

void sipPlasma_Dialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Dialog::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Dialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Dialog::metric(a0);

    extern int sipVH_plasma_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_plasma_101(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipPlasma_Dialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Dialog::paintEngine();

    extern  ::QPaintEngine* sipVH_plasma_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_100(sipGILState, 0, sipPySelf, sipMeth);
}

int sipPlasma_Dialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Dialog::devType();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Dialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::Plasma::Dialog::setVisible(a0);
        return;
    }

    extern void sipVH_plasma_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_plasma_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipPlasma_Dialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Dialog::sizeHint();

    extern  ::QSize sipVH_plasma_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_99(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipPlasma_Dialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Dialog::minimumSizeHint();

    extern  ::QSize sipVH_plasma_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_99(sipGILState, 0, sipPySelf, sipMeth);
}

int sipPlasma_Dialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::Plasma::Dialog::heightForWidth(a0);

    extern int sipVH_plasma_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_plasma_98(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_plasma_97(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_plasma_97(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_plasma_97(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_plasma_97(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_plasma_96(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Dialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::enterEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::leaveEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::paintEvent(a0);
        return;
    }

    extern void sipVH_plasma_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_plasma_95(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::moveEvent(a0);
        return;
    }

    extern void sipVH_plasma_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_plasma_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Dialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_plasma_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_plasma_93(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::closeEvent(a0);
        return;
    }

    extern void sipVH_plasma_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_plasma_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_plasma_92(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_plasma_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_plasma_91(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::actionEvent(a0);
        return;
    }

    extern void sipVH_plasma_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_plasma_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_plasma_89(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_plasma_88(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_plasma_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_plasma_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::showEvent(a0);
        return;
    }

    extern void sipVH_plasma_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_plasma_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::hideEvent(a0);
        return;
    }

    extern void sipVH_plasma_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_plasma_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::changeEvent(a0);
        return;
    }

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Dialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipPlasma_Dialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Dialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Dialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::Plasma::Dialog::focusNextPrevChild(a0);

    extern bool sipVH_plasma_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_plasma_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::Plasma::Dialog::enabledChange(a0);
        return;
    }

    extern void sipVH_plasma_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_plasma_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::Plasma::Dialog::paletteChange(a0);
        return;
    }

    extern void sipVH_plasma_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_plasma_85(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::Plasma::Dialog::fontChange(a0);
        return;
    }

    extern void sipVH_plasma_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_plasma_84(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::Plasma::Dialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_plasma_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_plasma_83(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::Plasma::Dialog::languageChange();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Dialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->graphicsWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResizeHandleCorners(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Dialog, &sipCpp))
        {
             ::Plasma::Dialog::ResizeCorners*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::Dialog::ResizeCorners(sipCpp->resizeCorners());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::Plasma::Direction a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_Plasma_Direction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedHide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Direction a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_Plasma_Direction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedShow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QPaintEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QEvent* a0;
         ::Plasma::Dialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QResizeEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QHideEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::hideEvent(a0) : sipCpp->hideEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QShowEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMouseEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QKeyEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QMoveEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::moveEvent(a0) : sipCpp->moveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QPoint* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QFocusEvent* a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Dialog::focusInEvent(a0) : sipCpp->focusInEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Dialog, &sipCpp))
        {
             ::Plasma::AspectRatioMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aspectRatioMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_AspectRatioMode);
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::AspectRatioMode a0;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Dialog, &sipCpp, sipType_Plasma_AspectRatioMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAspectRatioMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Dialog *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Dialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUserResizing();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_Plasma_Dialog, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumResizeLimits(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::Plasma::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Dialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getMinimumResizeLimits(&a0,&a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QWidget* a0 = 0;
         ::Qt::WindowFlags a1def = Qt::Window;
         ::Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Dialog(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_Dialog[] = {
    {SIP_MLNAME_CAST(sipName_animatedHide), meth_Plasma_Dialog_animatedHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animatedShow), meth_Plasma_Dialog_animatedShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_aspectRatioMode), meth_Plasma_Dialog_aspectRatioMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_Dialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Plasma_Dialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Plasma_Dialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getMinimumResizeLimits), meth_Plasma_Dialog_getMinimumResizeLimits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicsWidget), meth_Plasma_Dialog_graphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Plasma_Dialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inControlArea), meth_Plasma_Dialog_inControlArea, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUserResizing), meth_Plasma_Dialog_isUserResizing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Plasma_Dialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Plasma_Dialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Plasma_Dialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Plasma_Dialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Plasma_Dialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Plasma_Dialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeCorners), meth_Plasma_Dialog_resizeCorners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Plasma_Dialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatioMode), meth_Plasma_Dialog_setAspectRatioMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGraphicsWidget), meth_Plasma_Dialog_setGraphicsWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumResizeLimits), meth_Plasma_Dialog_setMinimumResizeLimits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeHandleCorners), meth_Plasma_Dialog_setResizeHandleCorners, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Plasma_Dialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_syncToGraphicsWidget), meth_Plasma_Dialog_syncToGraphicsWidget, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Dialog[] = {
    {sipName_All, static_cast<int>( ::Plasma::Dialog::All), 61},
    {sipName_NoCorner, static_cast<int>( ::Plasma::Dialog::NoCorner), 61},
    {sipName_NorthEast, static_cast<int>( ::Plasma::Dialog::NorthEast), 61},
    {sipName_NorthWest, static_cast<int>( ::Plasma::Dialog::NorthWest), 61},
    {sipName_SouthEast, static_cast<int>( ::Plasma::Dialog::SouthEast), 61},
    {sipName_SouthWest, static_cast<int>( ::Plasma::Dialog::SouthWest), 61},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Dialog[] = {
    {"dialogVisible(bool)", 0, 0, 0},
    {"dialogResized()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_Dialog = {
    & ::Plasma::Dialog::staticMetaObject,
    0,
    signals_Plasma_Dialog
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Dialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog,
        {0},
        &plugin_Plasma_Dialog
    },
    {
        sipNameNr_Dialog,
        {1, 255, 0},
        25, methods_Plasma_Dialog,
        6, enummembers_Plasma_Dialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Dialog,
    0,
    init_type_Plasma_Dialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Dialog,
    0,
    0,
    0,
    release_Plasma_Dialog,
    cast_Plasma_Dialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/delegate.sip"
#include <plasma/delegate.h>
#line 10504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 10529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 803 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 10535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Delegate : public  ::Plasma::Delegate
{
public:
    sipPlasma_Delegate( ::QObject*);
    virtual ~sipPlasma_Delegate();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void paint( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QSize sizeHint(const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
     ::QWidget* createEditor( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void setEditorData( ::QWidget*,const  ::QModelIndex&) const;
    void setModelData( ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&) const;
    void updateEditorGeometry( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    bool editorEvent( ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[14];
};

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

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

const QMetaObject *sipPlasma_Delegate::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Delegate);
}

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

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

    return _id;
}

void *sipPlasma_Delegate::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Delegate, _clname)) ? this :  ::Plasma::Delegate::qt_metacast(_clname);
}

void sipPlasma_Delegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Delegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

    if (!sipMeth)
        return  ::Plasma::Delegate::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Delegate::paint( ::QPainter*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Delegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_plasma_82(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QSize sipPlasma_Delegate::sizeHint(const  ::QStyleOptionViewItem& a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Delegate::sizeHint(a0,a1);

    extern  ::QSize sipVH_plasma_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_plasma_81(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QWidget* sipPlasma_Delegate::createEditor( ::QWidget*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::Delegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_plasma_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_plasma_80(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Delegate::setEditorData( ::QWidget*a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Delegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_plasma_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_plasma_79(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Delegate::setModelData( ::QWidget*a0, ::QAbstractItemModel*a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Delegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_plasma_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipPlasma_Delegate::updateEditorGeometry( ::QWidget*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::Delegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_plasma_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_plasma_77(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipPlasma_Delegate::editorEvent( ::QEvent*a0, ::QAbstractItemModel*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::Plasma::Delegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_plasma_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_plasma_76(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


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

    {
         ::Plasma::Delegate::SpecificRoles a0;
        int a1;
         ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEi", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_Plasma_Delegate_SpecificRoles, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRoleMapping(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::Plasma::Delegate::SpecificRoles a0;
        const  ::Plasma::Delegate *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->roleMapping(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
         ::QPainter* a0;
        const  ::QStyleOptionViewItem* a1;
        const  ::QModelIndex* a2;
        const  ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Delegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::Delegate *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showToolTip();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QStyleOptionViewItem* a0;
        const  ::QModelIndex* a1;
        const  ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->rectAfterTitle(*a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QStyleOptionViewItem* a0;
        const  ::QModelIndex* a1;
        const  ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->rectAfterSubTitle(*a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QStyleOptionViewItem* a0;
        const  ::QModelIndex* a1;
        const  ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->emptyRect(*a0,*a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QStyleOptionViewItem* a0;
        const  ::QModelIndex* a1;
        const  ::Plasma::Delegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_Plasma_Delegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::Plasma::Delegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_QAbstractItemDelegate)
        return static_cast< ::QAbstractItemDelegate *>(sipCpp);

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QObject* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Plasma_Delegate[] = {
    {SIP_MLNAME_CAST(sipName_emptyRect), meth_Plasma_Delegate_emptyRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Plasma_Delegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rectAfterSubTitle), meth_Plasma_Delegate_rectAfterSubTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rectAfterTitle), meth_Plasma_Delegate_rectAfterTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_roleMapping), meth_Plasma_Delegate_roleMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRoleMapping), meth_Plasma_Delegate_setRoleMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showToolTip), meth_Plasma_Delegate_showToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_Plasma_Delegate_sizeHint, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Plasma_Delegate[] = {
    {sipName_ColumnTypeRole, static_cast<int>( ::Plasma::Delegate::ColumnTypeRole), 59},
    {sipName_MainColumn, static_cast<int>( ::Plasma::Delegate::MainColumn), 58},
    {sipName_SecondaryActionColumn, static_cast<int>( ::Plasma::Delegate::SecondaryActionColumn), 58},
    {sipName_SubTitleMandatoryRole, static_cast<int>( ::Plasma::Delegate::SubTitleMandatoryRole), 59},
    {sipName_SubTitleRole, static_cast<int>( ::Plasma::Delegate::SubTitleRole), 59},
};


static pyqt4ClassPluginDef plugin_Plasma_Delegate = {
    & ::Plasma::Delegate::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Delegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Delegate,
        {0},
        &plugin_Plasma_Delegate
    },
    {
        sipNameNr_Delegate,
        {1, 255, 0},
        8, methods_Plasma_Delegate,
        5, enummembers_Plasma_Delegate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Delegate,
    0,
    init_type_Plasma_Delegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Delegate,
    0,
    0,
    0,
    release_Plasma_Delegate,
    cast_Plasma_Delegate,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dataenginemanager.sip"
#include <plasma/dataenginemanager.h>
#line 11270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


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

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngineManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->engine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngineManager, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->loadEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList( ::Plasma::DataEngineManager::listAllEngines(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_QString,&a0, &a0State))
        {
             ::KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KPluginInfo::List( ::Plasma::DataEngineManager::listEngineInfo(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KPluginInfo::List( ::Plasma::DataEngineManager::listEngineInfoByCategory(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
         ::QTimerEvent* a0;
         ::Plasma::DataEngineManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataEngineManager, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngineManager::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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


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


static PyMethodDef methods_Plasma_DataEngineManager[] = {
    {SIP_MLNAME_CAST(sipName_engine), meth_Plasma_DataEngineManager_engine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listAllEngines), meth_Plasma_DataEngineManager_listAllEngines, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listEngineInfo), meth_Plasma_DataEngineManager_listEngineInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listEngineInfoByCategory), meth_Plasma_DataEngineManager_listEngineInfoByCategory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadEngine), meth_Plasma_DataEngineManager_loadEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_Plasma_DataEngineManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_DataEngineManager_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unloadEngine), meth_Plasma_DataEngineManager_unloadEngine, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_Plasma_DataEngineManager = {
    & ::Plasma::DataEngineManager::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_DataEngineManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataEngineManager,
        {0},
        &plugin_Plasma_DataEngineManager
    },
    {
        sipNameNr_DataEngineManager,
        {1, 255, 0},
        8, methods_Plasma_DataEngineManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_DataEngineManager,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_Plasma_DataEngineManager,
    cast_Plasma_DataEngineManager,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 11664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 11679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 11685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 11691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 11694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 11697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_DataEngine : public  ::Plasma::DataEngine
{
public:
    sipPlasma_DataEngine( ::QObject*, ::KService::Ptr);
    sipPlasma_DataEngine( ::QObject*,const  ::QVariantList&);
    virtual ~sipPlasma_DataEngine();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool updateSourceEvent(const  ::QString&);
    bool sourceRequestEvent(const  ::QString&);
     ::Plasma::Service* serviceForSource(const  ::QString&);
     ::QStringList sources() const;
    void init();
    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_DataEngine(const sipPlasma_DataEngine &);
    sipPlasma_DataEngine &operator = (const sipPlasma_DataEngine &);

    char sipPyMethods[12];
};

sipPlasma_DataEngine::sipPlasma_DataEngine( ::QObject*a0, ::KService::Ptr a1):  ::Plasma::DataEngine(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_DataEngine::sipPlasma_DataEngine( ::QObject*a0,const  ::QVariantList& a1):  ::Plasma::DataEngine(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPlasma_DataEngine::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_DataEngine);
}

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

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

    return _id;
}

void *sipPlasma_DataEngine::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_DataEngine, _clname)) ? this :  ::Plasma::DataEngine::qt_metacast(_clname);
}

bool sipPlasma_DataEngine::updateSourceEvent(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::DataEngine::updateSourceEvent(a0);

    extern bool sipVH_plasma_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_plasma_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngine::sourceRequestEvent(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::DataEngine::sourceRequestEvent(a0);

    extern bool sipVH_plasma_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_plasma_75(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::Plasma::Service* sipPlasma_DataEngine::serviceForSource(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::DataEngine::serviceForSource(a0);

    extern  ::Plasma::Service* sipVH_plasma_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_plasma_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QStringList sipPlasma_DataEngine::sources() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::Plasma::DataEngine::sources();

    extern  ::QStringList sipVH_plasma_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_73(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DataEngine::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::Plasma::DataEngine::init();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

    if (!sipMeth)
        return  ::Plasma::DataEngine::event(a0);

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

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngine::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataEngine::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::init() : sipCpp->init());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::sources() : sipCpp->sources()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::serviceForSource(*a0) : sipCpp->serviceForSource(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;
         ::uint a2 = 0;
         ::Plasma::IntervalAlignment a3 = Plasma::NoAlignment;
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8|uE", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1, &a2, sipType_Plasma_IntervalAlignment, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectSource(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;
         ::uint a1 = 0;
         ::Plasma::IntervalAlignment a2 = Plasma::NoAlignment;
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|uE", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QObject, &a0, &a1, sipType_Plasma_IntervalAlignment, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectAllSources(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disconnectSource(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::DataContainer*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containerForSource(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::DataEngine::Data*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::DataEngine::Data(sipCpp->query(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxSourceCount();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            const  ::Plasma::Package*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->package();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast< ::Plasma::Package *>(sipRes),sipType_Plasma_Package,NULL);
        }
    }

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

    return NULL;
}


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

    {
        const  ::Plasma::DataEngine *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->pluginName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_sourceRequestEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_sourceRequestEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::sourceRequestEvent(*a0) : sipCpp->sourceRequestEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_sourceRequestEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_updateSourceEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_updateSourceEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::updateSourceEvent(*a0) : sipCpp->updateSourceEvent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_updateSourceEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QVariant* a2;
        int a2State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1J1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::Plasma::DataEngine::Data* a1;
        int a1State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QHash_0100QString_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::Plasma::DataEngine::Data *>(a1),sipType_QHash_0100QString_0100QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_removeAllData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_removeAllData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_removeAllData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_removeData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_removeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_removeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_addSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_addSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer* a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_Plasma_DataContainer, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSource(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_addSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setMaxSourceCount(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setMaxSourceCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pu", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxSourceCount(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setMaxSourceCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setMinimumPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setMinimumPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumPollingInterval(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setMinimumPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_minimumPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_minimumPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimumPollingInterval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_minimumPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setPollingInterval(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setPollingInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pu", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPollingInterval(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setPollingInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_removeAllSources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_removeAllSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllSources();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_removeAllSources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setValid(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValid(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_containerDict(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_containerDict(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
             ::Plasma::DataEngine::SourceDict*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::DataEngine::SourceDict(sipCpp->containerDict());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0101Plasma_DataContainer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_containerDict, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::DataEngine::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setIcon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_scheduleSourcesUpdated(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_scheduleSourcesUpdated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->scheduleSourcesUpdated();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_scheduleSourcesUpdated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_removeSource(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_removeSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeSource(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_removeSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_updateAllSources(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_updateAllSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateAllSources();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_updateAllSources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_forceImmediateUpdateOfAllVisualizations(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_forceImmediateUpdateOfAllVisualizations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->forceImmediateUpdateOfAllVisualizations();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_forceImmediateUpdateOfAllVisualizations, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_createDefaultService(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_createDefaultService(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0 = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J:", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QObject, &a0))
        {
             ::Plasma::Service*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createDefaultService(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Service,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_createDefaultService, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setDefaultService(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setDefaultService(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultService(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setDefaultService, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataEngine_setStorageEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataEngine_setStorageEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
         ::Plasma::DataEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1b", &sipSelf, sipType_Plasma_DataEngine, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStorageEnabled(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataEngine, sipName_setStorageEnabled, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_DataEngine(void *, const sipTypeDef *);}
static void *cast_Plasma_DataEngine(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::DataEngine *sipCpp = reinterpret_cast< ::Plasma::DataEngine *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_DataEngine(void *, int);}
static void release_Plasma_DataEngine(void *sipCppV, int)
{
     ::Plasma::DataEngine *sipCpp = reinterpret_cast< ::Plasma::DataEngine *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_DataEngine(sipSimpleWrapper *);}
static void dealloc_Plasma_DataEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_DataEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_DataEngine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_Plasma_DataEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_DataEngine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_DataEngine *sipCpp = 0;

    {
         ::QObject* a0 = 0;
         ::KService::Ptr a1def = KService::Ptr(0);
         ::KService::Ptr* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QObject, &a0, sipOwner, sipType_KSharedPtr_0100KService,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_DataEngine(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KSharedPtr_0100KService,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;
        const  ::QVariantList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_DataEngine(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_DataEngine[] = {{16, 0, 1}};


static PyMethodDef methods_Plasma_DataEngine[] = {
    {SIP_MLNAME_CAST(sipName_addSource), meth_Plasma_DataEngine_addSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectAllSources), meth_Plasma_DataEngine_connectAllSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectSource), meth_Plasma_DataEngine_connectSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containerDict), meth_Plasma_DataEngine_containerDict, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containerForSource), meth_Plasma_DataEngine_containerForSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDefaultService), meth_Plasma_DataEngine_createDefaultService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectSource), meth_Plasma_DataEngine_disconnectSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forceImmediateUpdateOfAllVisualizations), meth_Plasma_DataEngine_forceImmediateUpdateOfAllVisualizations, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_DataEngine_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_DataEngine_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_Plasma_DataEngine_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Plasma_DataEngine_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxSourceCount), meth_Plasma_DataEngine_maxSourceCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumPollingInterval), meth_Plasma_DataEngine_minimumPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_DataEngine_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_package), meth_Plasma_DataEngine_package, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginName), meth_Plasma_DataEngine_pluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_Plasma_DataEngine_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllData), meth_Plasma_DataEngine_removeAllData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllSources), meth_Plasma_DataEngine_removeAllSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeData), meth_Plasma_DataEngine_removeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSource), meth_Plasma_DataEngine_removeSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleSourcesUpdated), meth_Plasma_DataEngine_scheduleSourcesUpdated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serviceForSource), meth_Plasma_DataEngine_serviceForSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_Plasma_DataEngine_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultService), meth_Plasma_DataEngine_setDefaultService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_Plasma_DataEngine_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxSourceCount), meth_Plasma_DataEngine_setMaxSourceCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumPollingInterval), meth_Plasma_DataEngine_setMinimumPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_Plasma_DataEngine_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPollingInterval), meth_Plasma_DataEngine_setPollingInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStorageEnabled), meth_Plasma_DataEngine_setStorageEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValid), meth_Plasma_DataEngine_setValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceRequestEvent), meth_Plasma_DataEngine_sourceRequestEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sources), meth_Plasma_DataEngine_sources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_DataEngine_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateAllSources), meth_Plasma_DataEngine_updateAllSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSourceEvent), meth_Plasma_DataEngine_updateSourceEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_DataEngine[] = {
    {"sourceRemoved(QString)", 0, 0, 0},
    {"sourceAdded(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_DataEngine = {
    & ::Plasma::DataEngine::staticMetaObject,
    0,
    signals_Plasma_DataEngine
};


sipClassTypeDef sipTypeDef_plasma_Plasma_DataEngine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataEngine,
        {0},
        &plugin_Plasma_DataEngine
    },
    {
        sipNameNr_DataEngine,
        {1, 255, 0},
        38, methods_Plasma_DataEngine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_DataEngine,
    0,
    init_type_Plasma_DataEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_DataEngine,
    0,
    0,
    0,
    release_Plasma_DataEngine,
    cast_Plasma_DataEngine,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 13323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 13333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 13339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_DataContainer : public  ::Plasma::DataContainer
{
public:
    sipPlasma_DataContainer( ::QObject*);
    virtual ~sipPlasma_DataContainer();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_DataContainer(const sipPlasma_DataContainer &);
    sipPlasma_DataContainer &operator = (const sipPlasma_DataContainer &);

    char sipPyMethods[7];
};

sipPlasma_DataContainer::sipPlasma_DataContainer( ::QObject*a0):  ::Plasma::DataContainer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_DataContainer::~sipPlasma_DataContainer()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipPlasma_DataContainer::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_DataContainer);
}

int sipPlasma_DataContainer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::Plasma::DataContainer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_DataContainer,_c,_id,_a);

    return _id;
}

void *sipPlasma_DataContainer::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_DataContainer, _clname)) ? this :  ::Plasma::DataContainer::qt_metacast(_clname);
}

bool sipPlasma_DataContainer::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::DataContainer::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataContainer::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::DataContainer::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_DataContainer::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::DataContainer::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::DataContainer::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::DataContainer::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::DataContainer::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::DataContainer::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_DataContainer_data(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
             ::Plasma::DataEngine::Data*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::DataEngine::Data(sipCpp->data());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_setData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_removeAllData(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_removeAllData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_removeAllData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_visualizationIsConnected(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_visualizationIsConnected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        const  ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->visualizationIsConnected(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_visualizationIsConnected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_connectVisualization(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_connectVisualization(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::uint a1;
         ::Plasma::IntervalAlignment a2;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8uE", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, sipType_QObject, &a0, &a1, sipType_Plasma_IntervalAlignment, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectVisualization(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_connectVisualization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_disconnectVisualization(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_disconnectVisualization(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disconnectVisualization(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_disconnectVisualization, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_checkForUpdate(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_checkForUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->checkForUpdate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_checkForUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_timeSinceLastUpdate(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_timeSinceLastUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeSinceLastUpdate();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_timeSinceLastUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_setNeedsUpdate(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_setNeedsUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p|b", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNeedsUpdate(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_setNeedsUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_checkUsage(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_checkUsage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->checkUsage();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_checkUsage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_forceImmediateUpdate(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_forceImmediateUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->forceImmediateUpdate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_forceImmediateUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_setStorageEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_setStorageEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStorageEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_setStorageEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_isStorageEnabled(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_isStorageEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isStorageEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_isStorageEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_needsToBeStored(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_needsToBeStored(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->needsToBeStored();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_needsToBeStored, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_setNeedsToBeStored(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_setNeedsToBeStored(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNeedsToBeStored(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_setNeedsToBeStored, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_getDataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_getDataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_DataContainer, &sipCpp))
        {
             ::Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->getDataEngine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_getDataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_DataContainer_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_DataContainer_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
         ::Plasma::DataContainer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataContainer, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::DataContainer::timerEvent(a0) : sipCpp->timerEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_DataContainer, sipName_timerEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_DataContainer(void *, const sipTypeDef *);}
static void *cast_Plasma_DataContainer(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::DataContainer *sipCpp = reinterpret_cast< ::Plasma::DataContainer *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_DataContainer(void *, int);}
static void release_Plasma_DataContainer(void *sipCppV, int)
{
     ::Plasma::DataContainer *sipCpp = reinterpret_cast< ::Plasma::DataContainer *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_DataContainer(sipSimpleWrapper *);}
static void dealloc_Plasma_DataContainer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_DataContainer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_DataContainer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_Plasma_DataContainer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_DataContainer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_DataContainer *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_DataContainer(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_DataContainer[] = {{16, 0, 1}};


static PyMethodDef methods_Plasma_DataContainer[] = {
    {SIP_MLNAME_CAST(sipName_checkForUpdate), meth_Plasma_DataContainer_checkForUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkUsage), meth_Plasma_DataContainer_checkUsage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectVisualization), meth_Plasma_DataContainer_connectVisualization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_Plasma_DataContainer_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectVisualization), meth_Plasma_DataContainer_disconnectVisualization, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forceImmediateUpdate), meth_Plasma_DataContainer_forceImmediateUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getDataEngine), meth_Plasma_DataContainer_getDataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isStorageEnabled), meth_Plasma_DataContainer_isStorageEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needsToBeStored), meth_Plasma_DataContainer_needsToBeStored, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllData), meth_Plasma_DataContainer_removeAllData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_Plasma_DataContainer_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNeedsToBeStored), meth_Plasma_DataContainer_setNeedsToBeStored, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNeedsUpdate), meth_Plasma_DataContainer_setNeedsUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStorageEnabled), meth_Plasma_DataContainer_setStorageEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeSinceLastUpdate), meth_Plasma_DataContainer_timeSinceLastUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Plasma_DataContainer_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visualizationIsConnected), meth_Plasma_DataContainer_visualizationIsConnected, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_DataContainer[] = {
    {"updateRequested(Plasma::DataContainer*)", 0, 0, 0},
    {"becameUnused(QString)", 0, 0, 0},
    {"dataUpdated(QString,Plasma::DataEngine::Data)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_DataContainer = {
    & ::Plasma::DataContainer::staticMetaObject,
    0,
    signals_Plasma_DataContainer
};


sipClassTypeDef sipTypeDef_plasma_Plasma_DataContainer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataContainer,
        {0},
        &plugin_Plasma_DataContainer
    },
    {
        sipNameNr_DataContainer,
        {1, 255, 0},
        17, methods_Plasma_DataContainer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_DataContainer,
    0,
    init_type_Plasma_DataContainer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_DataContainer,
    0,
    0,
    0,
    release_Plasma_DataContainer,
    cast_Plasma_DataContainer,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/corona.sip"
#include <plasma/corona.h>
#line 14185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 14195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 14198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 14204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 14207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/abstractdialogmanager.sip"
#include <plasma/abstractdialogmanager.h>
#line 14210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containmentactionspluginsconfig.sip"
#include <plasma/containmentactionspluginsconfig.h>
#line 14213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 14228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 14237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 14264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 14267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 14270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 14276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 14279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 14294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 168 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 14336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 14339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1182 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1059 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 752 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpen.sip"
#include <qpen.h>
#line 14351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 844 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 350 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 14357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 929 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 14363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 715 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 883 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 104 "/usr/share/sip/PyQt4/QtCore/qline.sip"
#include <qline.h>
#line 14372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 796 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1098 "/usr/share/sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 14384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Corona : public  ::Plasma::Corona
{
public:
    sipPlasma_Corona( ::QObject*);
    virtual ~sipPlasma_Corona();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void loadDefaultLayout();
     ::QRegion availableScreenRegion(int) const;
     ::QRect screenGeometry(int) const;
    int numScreens() const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void helpEvent( ::QGraphicsSceneHelpEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
    void drawBackground( ::QPainter*,const  ::QRectF&);
    void drawForeground( ::QPainter*,const  ::QRectF&);
    void drawItems( ::QPainter*,int, ::QGraphicsItem**,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Corona(const sipPlasma_Corona &);
    sipPlasma_Corona &operator = (const sipPlasma_Corona &);

    char sipPyMethods[31];
};

sipPlasma_Corona::sipPlasma_Corona( ::QObject*a0):  ::Plasma::Corona(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Corona::~sipPlasma_Corona()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipPlasma_Corona::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Corona);
}

int sipPlasma_Corona::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::Plasma::Corona::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Corona,_c,_id,_a);

    return _id;
}

void *sipPlasma_Corona::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Corona, _clname)) ? this :  ::Plasma::Corona::qt_metacast(_clname);
}

void sipPlasma_Corona::loadDefaultLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_loadDefaultLayout);

    if (!sipMeth)
    {
         ::Plasma::Corona::loadDefaultLayout();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRegion sipPlasma_Corona::availableScreenRegion(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_availableScreenRegion);

    if (!sipMeth)
        return  ::Plasma::Corona::availableScreenRegion(a0);

    extern  ::QRegion sipVH_plasma_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_plasma_72(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRect sipPlasma_Corona::screenGeometry(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_screenGeometry);

    if (!sipMeth)
        return  ::Plasma::Corona::screenGeometry(a0);

    extern  ::QRect sipVH_plasma_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_plasma_71(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Corona::numScreens() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_numScreens);

    if (!sipMeth)
        return  ::Plasma::Corona::numScreens();

    extern int sipVH_plasma_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_34(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Corona::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::Corona::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::Corona::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Corona::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::Corona::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Corona::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::Corona::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipPlasma_Corona::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::Plasma::Corona::inputMethodQuery(a0);

    extern  ::QVariant sipVH_plasma_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_plasma_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_plasma_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_plasma_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::dropEvent(a0);
        return;
    }

    extern void sipVH_plasma_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_plasma_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::focusInEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::focusOutEvent(a0);
        return;
    }

    extern void sipVH_plasma_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_plasma_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::helpEvent( ::QGraphicsSceneHelpEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::helpEvent(a0);
        return;
    }

    extern void sipVH_plasma_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHelpEvent*);

    sipVH_plasma_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::keyPressEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_plasma_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::mousePressEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_plasma_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_plasma_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::wheelEvent(a0);
        return;
    }

    extern void sipVH_plasma_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_plasma_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::Plasma::Corona::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_plasma_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_plasma_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::drawBackground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
         ::Plasma::Corona::drawBackground(a0,a1);
        return;
    }

    extern void sipVH_plasma_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_plasma_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Corona::drawForeground( ::QPainter*a0,const  ::QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
         ::Plasma::Corona::drawForeground(a0,a1);
        return;
    }

    extern void sipVH_plasma_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRectF&);

    sipVH_plasma_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Corona::drawItems( ::QPainter*a0,int a1, ::QGraphicsItem**a2,const  ::QStyleOptionGraphicsItem*a3, ::QWidget*a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_drawItems);

    if (!sipMeth)
    {
         ::Plasma::Corona::drawItems(a0,a1,a2,a3,a4);
        return;
    }

    extern void sipVH_plasma_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,int, ::QGraphicsItem**,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

    sipVH_plasma_68(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}


extern "C" {static PyObject *meth_Plasma_Corona_setAppletMimeType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setAppletMimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAppletMimeType(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setAppletMimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_appletMimeType(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_appletMimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->appletMimeType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_appletMimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_containments(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_containments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            QList< ::Plasma::Containment*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::Containment*>(sipCpp->containments());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_containments, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_clearContainments(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_clearContainments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearContainments();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_clearContainments, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_config(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
             ::KSharedConfig::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KSharedConfig::Ptr(sipCpp->config());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100KSharedConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_addContainment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_addContainment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariantList& a1def = QVariantList();
        const  ::QVariantList* a1 = &a1def;
        int a1State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
             ::Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addContainment(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_addContainment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_containmentForScreen(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_containmentForScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = -1;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|i", &sipSelf, sipType_Plasma_Corona, &sipCpp, &a0, &a1))
        {
             ::Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containmentForScreen(a0,a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    {
        int a0;
        int a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QVariantList& a3def = QVariantList();
        const  ::QVariantList* a3 = &a3def;
        int a3State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ1|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, &a0, &a1, sipType_QString,&a2, &a2State, sipType_QList_0100QVariant,&a3, &a3State))
        {
             ::Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containmentForScreen(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QVariantList *>(a3),sipType_QList_0100QVariant,a3State);

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_containmentForScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_addOffscreenWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_addOffscreenWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QGraphicsWidget* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addOffscreenWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_addOffscreenWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_removeOffscreenWidget(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_removeOffscreenWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QGraphicsWidget* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeOffscreenWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_removeOffscreenWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_offscreenWidgets(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_offscreenWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            QList< ::QGraphicsWidget*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QGraphicsWidget*>(sipCpp->offscreenWidgets());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_offscreenWidgets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_numScreens(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_numScreens(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::Corona::numScreens() : sipCpp->numScreens());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_numScreens, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_screenGeometry(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_screenGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Corona, &sipCpp, &a0))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::Plasma::Corona::screenGeometry(a0) : sipCpp->screenGeometry(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_screenGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_availableScreenRegion(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_availableScreenRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Corona, &sipCpp, &a0))
        {
             ::QRegion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRegion((sipSelfWasArg ? sipCpp-> ::Plasma::Corona::availableScreenRegion(a0) : sipCpp->availableScreenRegion(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_availableScreenRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_popupPosition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_popupPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QGraphicsItem* a0;
        const  ::QSize* a1;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QSize, &a1))
        {
             ::QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPoint(sipCpp->popupPosition(a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        const  ::QGraphicsItem* a0;
        const  ::QSize* a1;
         ::Qt::AlignmentFlag a2;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9E", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QSize, &a1, sipType_Qt_AlignmentFlag, &a2))
        {
             ::QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPoint(sipCpp->popupPosition(a0,*a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_popupPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_freeEdges(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_freeEdges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Plasma_Corona, &sipCpp, &a0))
        {
            QList< ::Plasma::Location>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::Location>(sipCpp->freeEdges(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100Plasma_Location,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_freeEdges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_action(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QString* a0;
        int a0State = 0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_action, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_addAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QString* a0;
        int a0State = 0;
         ::QAction* a1;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QString* a0;
        int a0State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addAction(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_actions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            QList< ::QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QAction*>(sipCpp->actions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_actions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_enableAction(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_enableAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableAction(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_enableAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_updateShortcuts(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_updateShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateShortcuts();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_updateShortcuts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_addShortcuts(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_addShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KActionCollection* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_KActionCollection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addShortcuts(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_addShortcuts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_initializeLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_initializeLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->initializeLayout(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_initializeLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_loadLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_loadLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadLayout(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_loadLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_saveLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_saveLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveLayout(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_saveLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_immutability(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_immutability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
             ::Plasma::ImmutabilityType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->immutability();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Plasma_ImmutabilityType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_immutability, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_setImmutability(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setImmutability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::ImmutabilityType a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_ImmutabilityType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImmutability(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setImmutability, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_requestConfigSync(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_requestConfigSync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requestConfigSync();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_requestConfigSync, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_requireConfigSync(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_requireConfigSync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->requireConfigSync();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_requireConfigSync, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_loadDefaultLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_loadDefaultLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Corona::loadDefaultLayout() : sipCpp->loadDefaultLayout());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_loadDefaultLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_addContainmentDelayed(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_addContainmentDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariantList& a1def = QVariantList();
        const  ::QVariantList* a1 = &a1def;
        int a1State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1|J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
             ::Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addContainmentDelayed(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_addContainmentDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Corona::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Corona::dragLeaveEvent(a0) : sipCpp->dragLeaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QGraphicsSceneDragDropEvent* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::Corona::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_setContainmentActionsDefaults(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setContainmentActionsDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment::Type a0;
        const  ::Plasma::ContainmentActionsPluginsConfig* a1;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Containment_Type, &a0, sipType_Plasma_ContainmentActionsPluginsConfig, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainmentActionsDefaults(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setContainmentActionsDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_containmentActionsDefaults(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_containmentActionsDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment::Type a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Containment_Type, &a0))
        {
             ::Plasma::ContainmentActionsPluginsConfig*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::ContainmentActionsPluginsConfig(sipCpp->containmentActionsDefaults(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Plasma_ContainmentActionsPluginsConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_containmentActionsDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_setDialogManager(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setDialogManager(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::AbstractDialogManager* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_AbstractDialogManager, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDialogManager(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setDialogManager, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_dialogManager(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_dialogManager(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
             ::Plasma::AbstractDialogManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dialogManager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_AbstractDialogManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_dialogManager, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_importLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_importLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigBase* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_KConfigBase, &a0))
        {
            QList< ::Plasma::Containment*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::Containment*>(sipCpp->importLayout(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101Plasma_Containment,NULL);
        }
    }

    {
        const  ::KConfigGroup* a0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_KConfigGroup, &a0))
        {
            QList< ::Plasma::Containment*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Plasma::Containment*>(sipCpp->importLayout(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_importLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_layoutContainments(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_layoutContainments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->layoutContainments();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_layoutContainments, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_mapAnimation(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_mapAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Animator::Animation a0;
         ::Plasma::Animator::Animation a1;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEE", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Animator_Animation, &a0, sipType_Plasma_Animator_Animation, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mapAnimation(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Plasma::Animator::Animation a0;
        const  ::QString* a1;
        int a1State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Animator_Animation, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mapAnimation(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_mapAnimation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_preferredToolBoxPlugin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_preferredToolBoxPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment::Type a0;
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Containment_Type, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->preferredToolBoxPlugin(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_preferredToolBoxPlugin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_exportLayout(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_exportLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigGroup* a0;
        QList< ::Plasma::Containment*>* a1;
        int a1State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_KConfigGroup, &a0, sipType_QList_0101Plasma_Containment,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exportLayout(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_0101Plasma_Containment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_exportLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_setPreferredToolBoxPlugin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setPreferredToolBoxPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment::Type a0;
        const  ::QString* a1;
        int a1State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_Plasma_Containment_Type, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreferredToolBoxPlugin(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setPreferredToolBoxPlugin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_defaultContainmentPlugin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_defaultContainmentPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Corona, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->defaultContainmentPlugin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_defaultContainmentPlugin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Corona_setDefaultContainmentPlugin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Corona_setDefaultContainmentPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::Corona *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_Plasma_Corona, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultContainmentPlugin(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Corona, sipName_setDefaultContainmentPlugin, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Corona(void *, const sipTypeDef *);}
static void *cast_Plasma_Corona(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::Corona *sipCpp = reinterpret_cast< ::Plasma::Corona *>(sipCppV);

    if (targetType == sipType_QGraphicsScene)
        return static_cast< ::QGraphicsScene *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Corona(void *, int);}
static void release_Plasma_Corona(void *sipCppV, int)
{
     ::Plasma::Corona *sipCpp = reinterpret_cast< ::Plasma::Corona *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Corona(sipSimpleWrapper *);}
static void dealloc_Plasma_Corona(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Corona *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Corona(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_Plasma_Corona(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Corona(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Corona *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Corona(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Corona[] = {{21, 2, 1}};


static PyMethodDef methods_Plasma_Corona[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_Plasma_Corona_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actions), meth_Plasma_Corona_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_Plasma_Corona_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addContainment), meth_Plasma_Corona_addContainment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addContainmentDelayed), meth_Plasma_Corona_addContainmentDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addOffscreenWidget), meth_Plasma_Corona_addOffscreenWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addShortcuts), meth_Plasma_Corona_addShortcuts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_appletMimeType), meth_Plasma_Corona_appletMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableScreenRegion), meth_Plasma_Corona_availableScreenRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearContainments), meth_Plasma_Corona_clearContainments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_Plasma_Corona_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentActionsDefaults), meth_Plasma_Corona_containmentActionsDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containmentForScreen), meth_Plasma_Corona_containmentForScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containments), meth_Plasma_Corona_containments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultContainmentPlugin), meth_Plasma_Corona_defaultContainmentPlugin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dialogManager), meth_Plasma_Corona_dialogManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Plasma_Corona_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Plasma_Corona_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Plasma_Corona_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableAction), meth_Plasma_Corona_enableAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exportLayout), meth_Plasma_Corona_exportLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_freeEdges), meth_Plasma_Corona_freeEdges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_immutability), meth_Plasma_Corona_immutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_importLayout), meth_Plasma_Corona_importLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeLayout), meth_Plasma_Corona_initializeLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutContainments), meth_Plasma_Corona_layoutContainments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadDefaultLayout), meth_Plasma_Corona_loadDefaultLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadLayout), meth_Plasma_Corona_loadLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapAnimation), meth_Plasma_Corona_mapAnimation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numScreens), meth_Plasma_Corona_numScreens, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_offscreenWidgets), meth_Plasma_Corona_offscreenWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupPosition), meth_Plasma_Corona_popupPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferredToolBoxPlugin), meth_Plasma_Corona_preferredToolBoxPlugin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeOffscreenWidget), meth_Plasma_Corona_removeOffscreenWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestConfigSync), meth_Plasma_Corona_requestConfigSync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requireConfigSync), meth_Plasma_Corona_requireConfigSync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveLayout), meth_Plasma_Corona_saveLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screenGeometry), meth_Plasma_Corona_screenGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAppletMimeType), meth_Plasma_Corona_setAppletMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainmentActionsDefaults), meth_Plasma_Corona_setContainmentActionsDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultContainmentPlugin), meth_Plasma_Corona_setDefaultContainmentPlugin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDialogManager), meth_Plasma_Corona_setDialogManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setImmutability), meth_Plasma_Corona_setImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreferredToolBoxPlugin), meth_Plasma_Corona_setPreferredToolBoxPlugin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateShortcuts), meth_Plasma_Corona_updateShortcuts, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Corona[] = {
    {"shortcutsChanged()", 0, 0, 0},
    {"immutabilityChanged(Plasma::ImmutabilityType)", 0, 0, 0},
    {"availableScreenRegionChanged()", 0, 0, 0},
    {"configSynced()", 0, 0, 0},
    {"releaseVisualFocus()", 0, 0, 0},
    {"screenOwnerChanged(int,int,Plasma::Containment*)", 0, 0, 0},
    {"containmentAdded(Plasma::Containment*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_Corona = {
    & ::Plasma::Corona::staticMetaObject,
    0,
    signals_Plasma_Corona
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Corona = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Corona,
        {0},
        &plugin_Plasma_Corona
    },
    {
        sipNameNr_Corona,
        {1, 255, 0},
        45, methods_Plasma_Corona,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Corona,
    0,
    init_type_Plasma_Corona,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Corona,
    0,
    0,
    0,
    release_Plasma_Corona,
    cast_Plasma_Corona,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 16603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_Context : public  ::Plasma::Context
{
public:
    sipPlasma_Context( ::QObject*);
    virtual ~sipPlasma_Context();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipPlasma_Context(const sipPlasma_Context &);
    sipPlasma_Context &operator = (const sipPlasma_Context &);

    char sipPyMethods[7];
};

sipPlasma_Context::sipPlasma_Context( ::QObject*a0):  ::Plasma::Context(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Context::~sipPlasma_Context()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipPlasma_Context::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_Context);
}

int sipPlasma_Context::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::Plasma::Context::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_Context,_c,_id,_a);

    return _id;
}

void *sipPlasma_Context::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_Context, _clname)) ? this :  ::Plasma::Context::qt_metacast(_clname);
}

bool sipPlasma_Context::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::Context::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Context::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::Context::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Context::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::Context::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::Context::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::Context::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::Context::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::Context::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_Context_createActivity(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_createActivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Context, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->createActivity(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_createActivity, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Context_listActivities(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_listActivities(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Context, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->listActivities());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_listActivities, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Context_setCurrentActivity(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_setCurrentActivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Context, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentActivity(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_setCurrentActivity, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Context_currentActivity(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_currentActivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Context, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->currentActivity());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_currentActivity, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Context_setCurrentActivityId(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_setCurrentActivityId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_Context, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentActivityId(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_setCurrentActivityId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_Context_currentActivityId(PyObject *, PyObject *);}
static PyObject *meth_Plasma_Context_currentActivityId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::Context *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_Context, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->currentActivityId());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Context, sipName_currentActivityId, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Context(void *, const sipTypeDef *);}
static void *cast_Plasma_Context(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::Context *sipCpp = reinterpret_cast< ::Plasma::Context *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Context(void *, int);}
static void release_Plasma_Context(void *sipCppV, int)
{
     ::Plasma::Context *sipCpp = reinterpret_cast< ::Plasma::Context *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_Context(sipSimpleWrapper *);}
static void dealloc_Plasma_Context(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_Context *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Context(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_Plasma_Context(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Context(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_Context *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_Context(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Context[] = {{16, 0, 1}};


static PyMethodDef methods_Plasma_Context[] = {
    {SIP_MLNAME_CAST(sipName_createActivity), meth_Plasma_Context_createActivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentActivity), meth_Plasma_Context_currentActivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentActivityId), meth_Plasma_Context_currentActivityId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listActivities), meth_Plasma_Context_listActivities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentActivity), meth_Plasma_Context_setCurrentActivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentActivityId), meth_Plasma_Context_setCurrentActivityId, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Plasma_Context[] = {
    {"locationChanged(Plasma::Context*)", 0, 0, 0},
    {"activityChanged(Plasma::Context*)", 0, 0, 0},
    {"changed(Plasma::Context*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_Plasma_Context = {
    & ::Plasma::Context::staticMetaObject,
    0,
    signals_Plasma_Context
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Context = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Context,
        {0},
        &plugin_Plasma_Context
    },
    {
        sipNameNr_Context,
        {1, 255, 0},
        6, methods_Plasma_Context,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Context,
    0,
    init_type_Plasma_Context,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Context,
    0,
    0,
    0,
    release_Plasma_Context,
    cast_Plasma_Context,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containmentactionspluginsconfig.sip"
#include <plasma/containmentactionspluginsconfig.h>
#line 17149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


extern "C" {static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_clear(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::ContainmentActionsPluginsConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActionsPluginsConfig, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActionsPluginsConfig, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_remove(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent* a0;
         ::Plasma::ContainmentActionsPluginsConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ContainmentActionsPluginsConfig, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActionsPluginsConfig, sipName_remove, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_addPlugin(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActionsPluginsConfig_addPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::Plasma::ContainmentActionsPluginsConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_Plasma_ContainmentActionsPluginsConfig, &sipCpp, sipType_QEvent, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugin(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Qt::KeyboardModifiers* a0;
        int a0State = 0;
         ::Qt::MouseButton a1;
        const  ::QString* a2;
        int a2State = 0;
         ::Plasma::ContainmentActionsPluginsConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1EJ1", &sipSelf, sipType_Plasma_ContainmentActionsPluginsConfig, &sipCpp, sipType_Qt_KeyboardModifiers, &a0, &a0State, sipType_Qt_MouseButton, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugin(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::Qt::KeyboardModifiers* a0;
        int a0State = 0;
         ::Qt::Orientation a1;
        const  ::QString* a2;
        int a2State = 0;
         ::Plasma::ContainmentActionsPluginsConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1EJ1", &sipSelf, sipType_Plasma_ContainmentActionsPluginsConfig, &sipCpp, sipType_Qt_KeyboardModifiers, &a0, &a0State, sipType_Qt_Orientation, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlugin(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActionsPluginsConfig, sipName_addPlugin, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ContainmentActionsPluginsConfig(void *, int);}
static void release_Plasma_ContainmentActionsPluginsConfig(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::Plasma::ContainmentActionsPluginsConfig *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_ContainmentActionsPluginsConfig(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_ContainmentActionsPluginsConfig(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Plasma::ContainmentActionsPluginsConfig *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Plasma::ContainmentActionsPluginsConfig *>(sipSrc);
}


extern "C" {static void *array_Plasma_ContainmentActionsPluginsConfig(SIP_SSIZE_T);}
static void *array_Plasma_ContainmentActionsPluginsConfig(SIP_SSIZE_T sipNrElem)
{
    return new  ::Plasma::ContainmentActionsPluginsConfig[sipNrElem];
}


extern "C" {static void *copy_Plasma_ContainmentActionsPluginsConfig(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_ContainmentActionsPluginsConfig(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Plasma::ContainmentActionsPluginsConfig(reinterpret_cast<const  ::Plasma::ContainmentActionsPluginsConfig *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_ContainmentActionsPluginsConfig(sipSimpleWrapper *);}
static void dealloc_Plasma_ContainmentActionsPluginsConfig(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_ContainmentActionsPluginsConfig(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Plasma_ContainmentActionsPluginsConfig(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ContainmentActionsPluginsConfig(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Plasma::ContainmentActionsPluginsConfig *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::ContainmentActionsPluginsConfig();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::Plasma::ContainmentActionsPluginsConfig* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_ContainmentActionsPluginsConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::ContainmentActionsPluginsConfig(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Plasma_ContainmentActionsPluginsConfig[] = {
    {SIP_MLNAME_CAST(sipName_addPlugin), meth_Plasma_ContainmentActionsPluginsConfig_addPlugin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_Plasma_ContainmentActionsPluginsConfig_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_Plasma_ContainmentActionsPluginsConfig_remove, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_Plasma_ContainmentActionsPluginsConfig = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ContainmentActionsPluginsConfig = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__ContainmentActionsPluginsConfig,
        {0},
        &plugin_Plasma_ContainmentActionsPluginsConfig
    },
    {
        sipNameNr_ContainmentActionsPluginsConfig,
        {1, 255, 0},
        3, methods_Plasma_ContainmentActionsPluginsConfig,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_Plasma_ContainmentActionsPluginsConfig,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ContainmentActionsPluginsConfig,
    assign_Plasma_ContainmentActionsPluginsConfig,
    array_Plasma_ContainmentActionsPluginsConfig,
    copy_Plasma_ContainmentActionsPluginsConfig,
    release_Plasma_ContainmentActionsPluginsConfig,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containmentactions.sip"
#include <plasma/containmentactions.h>
#line 17431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 17447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 110 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 17468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 17480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 17483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 17486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


class sipPlasma_ContainmentActions : public  ::Plasma::ContainmentActions
{
public:
    sipPlasma_ContainmentActions( ::QObject*);
    sipPlasma_ContainmentActions( ::QObject*,const  ::QVariantList&);
    virtual ~sipPlasma_ContainmentActions();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void init(const  ::KConfigGroup&);
    QList< ::QAction*> contextualActions();
    void contextEvent( ::QEvent*);
    void configurationAccepted();
     ::QWidget* createConfigurationInterface( ::QWidget*);
    void save( ::KConfigGroup&);
    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_ContainmentActions(const sipPlasma_ContainmentActions &);
    sipPlasma_ContainmentActions &operator = (const sipPlasma_ContainmentActions &);

    char sipPyMethods[13];
};

sipPlasma_ContainmentActions::sipPlasma_ContainmentActions( ::QObject*a0):  ::Plasma::ContainmentActions(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ContainmentActions::sipPlasma_ContainmentActions( ::QObject*a0,const  ::QVariantList& a1):  ::Plasma::ContainmentActions(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_ContainmentActions::~sipPlasma_ContainmentActions()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipPlasma_ContainmentActions::metaObject() const
{
    return sip_plasma_qt_metaobject(sipPySelf,sipType_Plasma_ContainmentActions);
}

int sipPlasma_ContainmentActions::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::Plasma::ContainmentActions::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_plasma_qt_metacall(sipPySelf,sipType_Plasma_ContainmentActions,_c,_id,_a);

    return _id;
}

void *sipPlasma_ContainmentActions::qt_metacast(const char *_clname)
{
    return (sip_plasma_qt_metacast(sipPySelf, sipType_Plasma_ContainmentActions, _clname)) ? this :  ::Plasma::ContainmentActions::qt_metacast(_clname);
}

void sipPlasma_ContainmentActions::init(const  ::KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::init(a0);
        return;
    }

    extern void sipVH_plasma_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KConfigGroup&);

    sipVH_plasma_67(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QList< ::QAction*> sipPlasma_ContainmentActions::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return  ::Plasma::ContainmentActions::contextualActions();

    extern QList< ::QAction*> sipVH_plasma_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_plasma_59(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ContainmentActions::contextEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_contextEvent);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::contextEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::configurationAccepted()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_configurationAccepted);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::configurationAccepted();
        return;
    }

    extern void sipVH_plasma_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_plasma_9(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QWidget* sipPlasma_ContainmentActions::createConfigurationInterface( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
        return  ::Plasma::ContainmentActions::createConfigurationInterface(a0);

    extern  ::QWidget* sipVH_plasma_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_plasma_66(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::save( ::KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::save(a0);
        return;
    }

    extern void sipVH_plasma_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfigGroup&);

    sipVH_plasma_55(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ContainmentActions::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::Plasma::ContainmentActions::event(a0);

    extern bool sipVH_plasma_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_plasma_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ContainmentActions::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::Plasma::ContainmentActions::eventFilter(a0,a1);

    extern bool sipVH_plasma_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_plasma_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_ContainmentActions::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::timerEvent(a0);
        return;
    }

    extern void sipVH_plasma_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_plasma_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::childEvent(a0);
        return;
    }

    extern void sipVH_plasma_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_plasma_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::customEvent(a0);
        return;
    }

    extern void sipVH_plasma_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_plasma_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::connectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::Plasma::ContainmentActions::disconnectNotify(a0);
        return;
    }

    extern void sipVH_plasma_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_plasma_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_listContainmentActionsInfo(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_listContainmentActionsInfo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::KPluginInfo::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KPluginInfo::List( ::Plasma::ContainmentActions::listContainmentActionsInfo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KPluginInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_listContainmentActionsInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_load(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_load(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QVariantList& a2def = QVariantList();
        const  ::QVariantList* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1|J1", sipType_Plasma_Containment, &a0, sipType_QString,&a1, &a1State, sipType_QList_0100QVariant,&a2, &a2State))
        {
             ::Plasma::ContainmentActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::Plasma::ContainmentActions::load(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_ContainmentActions,NULL);
        }
    }

    {
         ::Plasma::Containment* a0;
        const  ::KPluginInfo* a1;
        const  ::QVariantList& a2def = QVariantList();
        const  ::QVariantList* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9|J1", sipType_Plasma_Containment, &a0, sipType_KPluginInfo, &a1, sipType_QList_0100QVariant,&a2, &a2State))
        {
             ::Plasma::ContainmentActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::Plasma::ContainmentActions::load(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariantList *>(a2),sipType_QList_0100QVariant,a2State);

            return sipConvertFromType(sipRes,sipType_Plasma_ContainmentActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_load, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_packageStructure(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_packageStructure(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::Plasma::PackageStructure::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Plasma::PackageStructure::Ptr( ::Plasma::ContainmentActions::packageStructure());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KSharedPtr_0100Plasma_PackageStructure,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_packageStructure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_name(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_pluginName(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_pluginName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->pluginName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_pluginName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_icon(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_isInitialized(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_isInitialized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInitialized();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_isInitialized, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_restore(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_restore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigGroup* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->restore(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_restore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_save(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigGroup* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::save(*a0) : sipCpp->save(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_createConfigurationInterface(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_createConfigurationInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWidget* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QWidget, &a0))
        {
             ::QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::createConfigurationInterface(a0) : sipCpp->createConfigurationInterface(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_createConfigurationInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_configurationAccepted(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_configurationAccepted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::configurationAccepted() : sipCpp->configurationAccepted());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_configurationAccepted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_contextEvent(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_contextEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::contextEvent(a0) : sipCpp->contextEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_contextEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_contextualActions(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_contextualActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
            QList< ::QAction*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QAction*>((sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::contextualActions() : sipCpp->contextualActions()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_contextualActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_dataEngine(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_dataEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::Plasma::DataEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataEngine(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_Plasma_DataEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_dataEngine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_configurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_configurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->configurationRequired();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_configurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_eventToString(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_eventToString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QEvent, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::Plasma::ContainmentActions::eventToString(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_eventToString, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_event(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_init(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_init(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KConfigGroup* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::Plasma::ContainmentActions::init(*a0) : sipCpp->init(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_init, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_setConfigurationRequired(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_setConfigurationRequired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p|b", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConfigurationRequired(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_setConfigurationRequired, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_containment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_containment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp))
        {
             ::Plasma::Containment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->containment();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Plasma_Containment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_containment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_paste(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_paste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPointF* a0;
        int a0State = 0;
         ::QPoint* a1;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J9", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paste(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_paste, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_popupPosition(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_popupPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QEvent* a1;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J8", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_QSize, &a0, sipType_QEvent, &a1))
        {
             ::QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPoint(sipCpp->popupPosition(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_popupPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Plasma_ContainmentActions_setContainment(PyObject *, PyObject *);}
static PyObject *meth_Plasma_ContainmentActions_setContainment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Plasma::Containment* a0;
         ::Plasma::ContainmentActions *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Plasma_ContainmentActions, &sipCpp, sipType_Plasma_Containment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContainment(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ContainmentActions, sipName_setContainment, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_ContainmentActions(void *, const sipTypeDef *);}
static void *cast_Plasma_ContainmentActions(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::ContainmentActions *sipCpp = reinterpret_cast< ::Plasma::ContainmentActions *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_ContainmentActions(void *, int);}
static void release_Plasma_ContainmentActions(void *sipCppV, int)
{
     ::Plasma::ContainmentActions *sipCpp = reinterpret_cast< ::Plasma::ContainmentActions *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Plasma_ContainmentActions(sipSimpleWrapper *);}
static void dealloc_Plasma_ContainmentActions(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipPlasma_ContainmentActions *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_ContainmentActions(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_Plasma_ContainmentActions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_ContainmentActions(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipPlasma_ContainmentActions *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ContainmentActions(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;
        const  ::QVariantList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QObject, &a0, sipOwner, sipType_QList_0100QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipPlasma_ContainmentActions(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_ContainmentActions[] = {{16, 0, 1}};


static PyMethodDef methods_Plasma_ContainmentActions[] = {
    {SIP_MLNAME_CAST(sipName_configurationAccepted), meth_Plasma_ContainmentActions_configurationAccepted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configurationRequired), meth_Plasma_ContainmentActions_configurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_containment), meth_Plasma_ContainmentActions_containment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextEvent), meth_Plasma_ContainmentActions_contextEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextualActions), meth_Plasma_ContainmentActions_contextualActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createConfigurationInterface), meth_Plasma_ContainmentActions_createConfigurationInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataEngine), meth_Plasma_ContainmentActions_dataEngine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Plasma_ContainmentActions_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventToString), meth_Plasma_ContainmentActions_eventToString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Plasma_ContainmentActions_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_Plasma_ContainmentActions_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInitialized), meth_Plasma_ContainmentActions_isInitialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listContainmentActionsInfo), meth_Plasma_ContainmentActions_listContainmentActionsInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Plasma_ContainmentActions_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Plasma_ContainmentActions_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_packageStructure), meth_Plasma_ContainmentActions_packageStructure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paste), meth_Plasma_ContainmentActions_paste, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginName), meth_Plasma_ContainmentActions_pluginName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupPosition), meth_Plasma_ContainmentActions_popupPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_Plasma_ContainmentActions_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Plasma_ContainmentActions_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigurationRequired), meth_Plasma_ContainmentActions_setConfigurationRequired, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContainment), meth_Plasma_ContainmentActions_setContainment, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_Plasma_ContainmentActions = {
    & ::Plasma::ContainmentActions::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_ContainmentActions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ContainmentActions,
        {0},
        &plugin_Plasma_ContainmentActions
    },
    {
        sipNameNr_ContainmentActions,
        {1, 255, 0},
        23, methods_Plasma_ContainmentActions,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_ContainmentActions,
    0,
    init_type_Plasma_ContainmentActions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_ContainmentActions,
    0,
    0,
    0,
    release_Plasma_ContainmentActions,
    cast_Plasma_ContainmentActions,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 18651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/plasma/view.sip"
#include <plasma/view.h>
#line 18655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 1966 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 18661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/plasma/sipplasmapart5.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Plasma_Containment_StyleOption(void *, const sipTypeDef *);}
static void *cast_Plasma_Containment_StyleOption(void *sipCppV, const sipTypeDef *targetType)
{
     ::Plasma::Containment::StyleOption *sipCpp = reinterpret_cast< ::Plasma::Containment::StyleOption *>(sipCppV);

    if (targetType == sipType_QStyleOptionGraphicsItem)
        return static_cast< ::QStyleOptionGraphicsItem *>(sipCpp);

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Plasma_Containment_StyleOption(void *, int);}
static void release_Plasma_Containment_StyleOption(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::Plasma::Containment::StyleOption *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Plasma_Containment_StyleOption(void *, SIP_SSIZE_T, const void *);}
static void assign_Plasma_Containment_StyleOption(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Plasma::Containment::StyleOption *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Plasma::Containment::StyleOption *>(sipSrc);
}


extern "C" {static void *array_Plasma_Containment_StyleOption(SIP_SSIZE_T);}
static void *array_Plasma_Containment_StyleOption(SIP_SSIZE_T sipNrElem)
{
    return new  ::Plasma::Containment::StyleOption[sipNrElem];
}


extern "C" {static void *copy_Plasma_Containment_StyleOption(const void *, SIP_SSIZE_T);}
static void *copy_Plasma_Containment_StyleOption(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Plasma::Containment::StyleOption(reinterpret_cast<const  ::Plasma::Containment::StyleOption *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Plasma_Containment_StyleOption(sipSimpleWrapper *);}
static void dealloc_Plasma_Containment_StyleOption(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Plasma_Containment_StyleOption(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Plasma_Containment_StyleOption(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Plasma_Containment_StyleOption(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Plasma::Containment::StyleOption *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Containment::StyleOption();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::Plasma::Containment::StyleOption* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Plasma_Containment_StyleOption, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Containment::StyleOption(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QStyleOptionGraphicsItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionGraphicsItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::Plasma::Containment::StyleOption(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Plasma_Containment_StyleOption[] = {{60, 2, 1}};

static sipEnumMemberDef enummembers_Plasma_Containment_StyleOption[] = {
    {sipName_Type, static_cast<int>( ::Plasma::Containment::StyleOption::Type), 45},
    {sipName_Version, static_cast<int>( ::Plasma::Containment::StyleOption::Version), 46},
};


extern "C" {static PyObject *varget_Plasma_Containment_StyleOption_view(void *, PyObject *, PyObject *);}
static PyObject *varget_Plasma_Containment_StyleOption_view(void *sipSelf, PyObject *, PyObject *)
{
     ::Plasma::View*sipVal;
     ::Plasma::Containment::StyleOption *sipCpp = reinterpret_cast< ::Plasma::Containment::StyleOption *>(sipSelf);

    sipVal = sipCpp->view;

    return sipConvertFromType(sipVal, sipType_Plasma_View, NULL);
}


extern "C" {static int varset_Plasma_Containment_StyleOption_view(void *, PyObject *, PyObject *);}
static int varset_Plasma_Containment_StyleOption_view(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::Plasma::View*sipVal;
     ::Plasma::Containment::StyleOption *sipCpp = reinterpret_cast< ::Plasma::Containment::StyleOption *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::Plasma::View *>(sipForceConvertToType(sipPy,sipType_Plasma_View,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->view = sipVal;

    return 0;
}

sipVariableDef variables_Plasma_Containment_StyleOption[] = {
    {InstanceVariable, sipName_view, (PyMethodDef *)varget_Plasma_Containment_StyleOption_view, (PyMethodDef *)varset_Plasma_Containment_StyleOption_view, NULL, NULL},
};


static pyqt4ClassPluginDef plugin_Plasma_Containment_StyleOption = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_plasma_Plasma_Containment_StyleOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Containment__StyleOption,
        {0},
        &plugin_Plasma_Containment_StyleOption
    },
    {
        sipNameNr_StyleOption,
        {43, 255, 0},
        0, 0,
        2, enummembers_Plasma_Containment_StyleOption,
        1, variables_Plasma_Containment_StyleOption,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Plasma_Containment_StyleOption,
    0,
    init_type_Plasma_Containment_StyleOption,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Plasma_Containment_StyleOption,
    assign_Plasma_Containment_StyleOption,
    array_Plasma_Containment_StyleOption,
    copy_Plasma_Containment_StyleOption,
    release_Plasma_Containment_StyleOption,
    cast_Plasma_Containment_StyleOption,
    0,
    0,
    0,
    0,
    0,
    0
};
