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

#include "sipAPIplasma.h"

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

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/theme.sip"
#include <plasma/theme.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 73 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

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()
{
    sipCommonDtor(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);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(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;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Svg *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Svg(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Svg = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Svg,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Svg::staticMetaObject,
    0,
    signals_Plasma_Svg,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 1003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 1093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 1129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 1180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    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;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    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*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[63];
};

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

sipPlasma_ExtenderGroup::~sipPlasma_ExtenderGroup()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(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[20]),sipPySelf,NULL,sipName_opaqueArea);

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(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[21]),sipPySelf,NULL,sipName_isObscuredBy);

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

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(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[22]),sipPySelf,NULL,sipName_collidesWithPath);

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

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

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(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[23]),sipPySelf,NULL,sipName_collidesWithItem);

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

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(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[24]),sipPySelf,NULL,sipName_contains);

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

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(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;
    }

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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[47]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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[50],sipPySelf,NULL,sipName_itemChange);

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

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

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

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

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[57]),sipPySelf,NULL,sipName_getContentsMargins);

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

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

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

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

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

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

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

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 multiple 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_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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ExtenderGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ExtenderGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ExtenderGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderGroup,
        {0}
    },
    {
        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
},
    &Plasma::ExtenderGroup::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 2870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 2874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 2883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 2898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 2916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 2946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 2958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 2973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 3012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 3021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 3024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 3045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 3051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 3063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 3066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    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;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    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*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[63];
};

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

sipPlasma_ExtenderItem::~sipPlasma_ExtenderItem()
{
    sipCommonDtor(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);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(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[9]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(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;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[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[47]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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[50],sipPySelf,NULL,sipName_itemChange);

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

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

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

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(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[56]),sipPySelf,NULL,sipName_type);

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

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

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(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[57]),sipPySelf,NULL,sipName_getContentsMargins);

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

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

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(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[58],sipPySelf,NULL,sipName_setGeometry);

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

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

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 multiple 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_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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ExtenderItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ExtenderItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{218, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ExtenderItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ExtenderItem,
        {0}
    },
    {
        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
},
    &Plasma::ExtenderItem::staticMetaObject,
    0,
    signals_Plasma_ExtenderItem,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extender.sip"
#include <plasma/extender.h>
#line 5463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/applet.sip"
#include <plasma/applet.h>
#line 5467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extenderitem.sip"
#include <plasma/extenderitem.h>
#line 5476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 218 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/framesvg.sip"
#include <plasma/framesvg.h>
#line 5488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/extendergroup.sip"
#include <plasma/extendergroup.h>
#line 5497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 135 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 239 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 5536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 5545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 5575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 5614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1144 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 5623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 5644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 5647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 5650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 5665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 5668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,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 hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    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;
    void advance(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);
    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&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[67];
};

sipPlasma_Extender::sipPlasma_Extender(Plasma::Applet*a0): Plasma::Extender(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Extender::~sipPlasma_Extender()
{
    sipCommonDtor(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);
}

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

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

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

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtGui_208)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return ((sipVH_QtGui_208)(sipModuleAPI_plasma_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(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[8],sipPySelf,NULL,sipName_itemChange);

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

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

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

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

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

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtGui_206)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtGui_206)(sipModuleAPI_plasma_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_209)(sipModuleAPI_plasma_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtGui_210)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtGui_210)(sipModuleAPI_plasma_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtGui_207)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtGui_207)(sipModuleAPI_plasma_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_4)(sipModuleAPI_plasma_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_plasma_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_188)(sipModuleAPI_plasma_QtGui->em_virthandlers[188]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    ((sipVH_QtGui_189)(sipModuleAPI_plasma_QtGui->em_virthandlers[189]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[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[46]),sipPySelf,NULL,sipName_windowFrameSectionAt);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

    ((sipVH_QtGui_193)(sipModuleAPI_plasma_QtGui->em_virthandlers[193]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_plasma_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtGui_195)(sipModuleAPI_plasma_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_196)(sipModuleAPI_plasma_QtGui->em_virthandlers[196]))(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[56]),sipPySelf,NULL,sipName_type);

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

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

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(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[57]),sipPySelf,NULL,sipName_getContentsMargins);

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

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

    ((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(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[58],sipPySelf,NULL,sipName_setGeometry);

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

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

    ((sipVH_QtGui_137)(sipModuleAPI_plasma_QtGui->em_virthandlers[137]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Plasma::FrameSvg::EnabledBorders sipPlasma_Extender::enabledBordersForItem(Plasma::ExtenderItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Extender::enabledBordersForItem(a0);

    extern Plasma::FrameSvg::EnabledBorders sipVH_plasma_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ExtenderItem*);

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

void sipPlasma_Extender::saveState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
    {
        Plasma::Extender::saveState();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Extender::itemHoverLeaveEvent(Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_itemHoverLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Extender::itemHoverLeaveEvent(a0);
        return;
    }

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

    sipVH_plasma_18(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[62],sipPySelf,NULL,sipName_itemHoverMoveEvent);

    if (!sipMeth)
    {
        Plasma::Extender::itemHoverMoveEvent(a0,a1);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ExtenderItem*,const QPointF&);

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

void sipPlasma_Extender::itemHoverEnterEvent(Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_itemHoverEnterEvent);

    if (!sipMeth)
    {
        Plasma::Extender::itemHoverEnterEvent(a0);
        return;
    }

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

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

void sipPlasma_Extender::itemRemovedEvent(Plasma::ExtenderItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_itemRemovedEvent);

    if (!sipMeth)
    {
        Plasma::Extender::itemRemovedEvent(a0);
        return;
    }

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

    sipVH_plasma_18(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[65],sipPySelf,NULL,sipName_itemAddedEvent);

    if (!sipMeth)
    {
        Plasma::Extender::itemAddedEvent(a0,a1);
        return;
    }

    extern void sipVH_plasma_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Plasma::ExtenderItem*,const QPointF&);

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


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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 multiple 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_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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Extender *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Extender(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{218, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Extender = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Extender,
        {0}
    },
    {
        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
},
    &Plasma::Extender::staticMetaObject,
    0,
    signals_Plasma_Extender,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 7868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 7872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 389 "/usr/share/python3-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 7894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 380 "/usr/share/python3-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 7928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 371 "/usr/share/python3-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 7968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
        Plasma::Dialog::ResizeCorners* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State, sipType_Plasma_Dialog_ResizeCorners, &a1, &a1State))
        {
            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);
            sipReleaseType(a1,sipType_Plasma_Dialog_ResizeCorners,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,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 = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Dialog::ResizeCorners(*a0 ^ a1);
#line 8077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_Plasma_Dialog_ResizeCorners___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;
        Plasma::Dialog::ResizeCorners* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State, sipType_Plasma_Dialog_ResizeCorners, &a1, &a1State))
        {
            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);
            sipReleaseType(a1,sipType_Plasma_Dialog_ResizeCorners,a1State);

            return sipConvertFromNewType(sipRes,sipType_Plasma_Dialog_ResizeCorners,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 = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Plasma::Dialog::ResizeCorners(*a0 | a1);
#line 8129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
            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___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;
}


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;

    {
        Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Dialog::ResizeCorners::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_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;

    {
        Plasma::Dialog::ResizeCorners* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Plasma_Dialog_ResizeCorners, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Plasma::Dialog::ResizeCorners::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Plasma_Dialog_ResizeCorners,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Plasma_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;
}


/* 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 (sipIsPyOwned(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;

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

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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Plasma::Dialog::ResizeCorners();
            Py_END_ALLOW_THREADS

            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 398 "/usr/share/python3-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 8413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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___invert__, invert_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___and__, and_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___xor__, xor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___or__, or_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___int__, int_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ixor__, ixor_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___ior__, ior_slot},
    {(void *)slot_Plasma_Dialog_ResizeCorners___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Dialog_ResizeCorners = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog__ResizeCorners,
        {0}
    },
    {
        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
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 8489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dialog.sip"
#include <plasma/dialog.h>
#line 8532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 8541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 8562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 8583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 8586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 8628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 8631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 8634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 8643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 8661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipPlasma_Dialog::sipPlasma_Dialog(QWidget*a0,Qt::WindowFlags a1): Plasma::Dialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPlasma_Dialog::~sipPlasma_Dialog()
{
    sipCommonDtor(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;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(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;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(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;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(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;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(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);

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

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(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);

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

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

void sipPlasma_Dialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::languageChange();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Dialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_plasma_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_plasma_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_11)(sipModuleAPI_plasma_QtGui->em_virthandlers[11]))(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[13]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(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[15]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return Plasma::Dialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_plasma_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_1)(sipModuleAPI_plasma_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_plasma_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_plasma_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_plasma_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_plasma_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_plasma_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_plasma_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_plasma_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_plasma_QtGui->em_virthandlers[22]))(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;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_plasma_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_plasma_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_plasma_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::leaveEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::enterEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_plasma_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Dialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_plasma_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipPlasma_Dialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Dialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_plasma_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipPlasma_Dialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Dialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_plasma_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipPlasma_Dialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Dialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipPlasma_Dialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Dialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_plasma_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_Dialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Plasma::Dialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_plasma_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Dialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Dialog::devType();

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

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 multiple 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_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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Dialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Dialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{755, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Dialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Dialog,
        {0}
    },
    {
        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
},
    &Plasma::Dialog::staticMetaObject,
    0,
    signals_Plasma_Dialog,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/delegate.sip"
#include <plasma/delegate.h>
#line 10481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1130 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 10491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 10506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 807 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 10512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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*);
    bool editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;

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()
{
    sipCommonDtor(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;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(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;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(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;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(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;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(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);

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

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(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);

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

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

bool sipPlasma_Delegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Plasma::Delegate::editorEvent(a0,a1,a2,a3);

    typedef bool (*sipVH_QtGui_73)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_73)(sipModuleAPI_plasma_QtGui->em_virthandlers[73]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[8]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        Plasma::Delegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_76)(sipModuleAPI_plasma_QtGui->em_virthandlers[76]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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[9]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        Plasma::Delegate::setModelData(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_77)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    ((sipVH_QtGui_77)(sipModuleAPI_plasma_QtGui->em_virthandlers[77]))(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;
    }

    typedef void (*sipVH_QtGui_78)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    ((sipVH_QtGui_78)(sipModuleAPI_plasma_QtGui->em_virthandlers[78]))(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[11]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return Plasma::Delegate::createEditor(a0,a1,a2);

    typedef QWidget* (*sipVH_QtGui_79)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_79)(sipModuleAPI_plasma_QtGui->em_virthandlers[79]))(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[12]),sipPySelf,NULL,sipName_sizeHint);

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

    typedef QSize (*sipVH_QtGui_80)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_80)(sipModuleAPI_plasma_QtGui->em_virthandlers[80]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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[13]),sipPySelf,NULL,sipName_paint);

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

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_plasma_QtGui->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


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


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Delegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Delegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{3, 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},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Delegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Delegate,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Delegate::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataenginemanager.sip"
#include <plasma/dataenginemanager.h>
#line 11228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        QTimerEvent* a0;
        Plasma::DataEngineManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Plasma_DataEngineManager, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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;
}


/* 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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_DataEngineManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataEngineManager,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::DataEngineManager::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 11595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 11602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 11605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/service.sip"
#include <plasma/service.h>
#line 11620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 11626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 11632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 11635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/package.sip"
#include <plasma/package.h>
#line 11638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool updateSourceEvent(const QString&);
    bool sourceRequestEvent(const QString&);
    Plasma::Service* serviceForSource(const QString&);
    QStringList sources() const;
    void init();

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()
{
    sipCommonDtor(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);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngine::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::DataEngine::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DataEngine::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::DataEngine::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngine::updateSourceEvent(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_updateSourceEvent);

    if (!sipMeth)
        return Plasma::DataEngine::updateSourceEvent(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_plasma_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataEngine::sourceRequestEvent(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_sourceRequestEvent);

    if (!sipMeth)
        return Plasma::DataEngine::sourceRequestEvent(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_plasma_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Plasma::Service* sipPlasma_DataEngine::serviceForSource(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_serviceForSource);

    if (!sipMeth)
        return Plasma::DataEngine::serviceForSource(a0);

    extern Plasma::Service* sipVH_plasma_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_plasma_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipPlasma_DataEngine::sources() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_sources);

    if (!sipMeth)
        return Plasma::DataEngine::sources();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_plasma_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_DataEngine::init()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::DataEngine::init();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_DataEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_DataEngine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_DataEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataEngine,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::DataEngine::staticMetaObject,
    0,
    signals_Plasma_DataEngine,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/datacontainer.sip"
#include <plasma/datacontainer.h>
#line 13248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 13258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 13264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

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()
{
    sipCommonDtor(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);
}

void sipPlasma_DataContainer::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::DataContainer::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::DataContainer::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::DataContainer::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(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;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_DataContainer::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::DataContainer::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_DataContainer::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::DataContainer::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_DataContainer::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::DataContainer::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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 || sipIsDerived((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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_DataContainer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_DataContainer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_DataContainer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__DataContainer,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::DataContainer::staticMetaObject,
    0,
    signals_Plasma_DataContainer,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/corona.sip"
#include <plasma/corona.h>
#line 14094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 14104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 14107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/animator.sip"
#include <plasma/animator.h>
#line 14113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 14116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/abstractdialogmanager.sip"
#include <plasma/abstractdialogmanager.h>
#line 14119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containmentactionspluginsconfig.sip"
#include <plasma/containmentactionspluginsconfig.h>
#line 14122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 14137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 14143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 14146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 14164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 14173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 14176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 14179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 14185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 14188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 14194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 14203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 48 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 168 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 14230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 105 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 14233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 14245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 14248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1188 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1065 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 758 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpen.sip"
#include <qpen.h>
#line 14260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 850 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 354 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 14266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 935 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 14272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 721 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 889 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 108 "/usr/share/python3-sip/PyQt4/QtCore/qline.sip"
#include <qline.h>
#line 14281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 802 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1104 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 14287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 14293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 14299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*);
    void drawForeground(QPainter*,const QRectF&);
    void drawBackground(QPainter*,const QRectF&);
    void inputMethodEvent(QInputMethodEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void helpEvent(QGraphicsSceneHelpEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void loadDefaultLayout();
    QRegion availableScreenRegion(int) const;
    QRect screenGeometry(int) const;
    int numScreens() const;

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()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Corona::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Corona::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Corona::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::Corona::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Corona::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Corona::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Corona::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(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[6],sipPySelf,NULL,sipName_drawItems);

    if (!sipMeth)
    {
        Plasma::Corona::drawItems(a0,a1,a2,a3,a4);
        return;
    }

    typedef void (*sipVH_QtGui_198)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtGui_198)(sipModuleAPI_plasma_QtGui->em_virthandlers[198]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipPlasma_Corona::drawForeground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
        Plasma::Corona::drawForeground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Corona::drawBackground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
        Plasma::Corona::drawBackground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_plasma_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipPlasma_Corona::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        Plasma::Corona::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_plasma_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        Plasma::Corona::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_199)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtGui_199)(sipModuleAPI_plasma_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        Plasma::Corona::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Corona::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        Plasma::Corona::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        Plasma::Corona::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_200)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtGui_200)(sipModuleAPI_plasma_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        Plasma::Corona::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        Plasma::Corona::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_plasma_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::helpEvent(QGraphicsSceneHelpEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
    {
        Plasma::Corona::helpEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_201)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHelpEvent*);

    ((sipVH_QtGui_201)(sipModuleAPI_plasma_QtGui->em_virthandlers[201]))(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;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        Plasma::Corona::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_plasma_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        Plasma::Corona::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        Plasma::Corona::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        Plasma::Corona::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        Plasma::Corona::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_202)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtGui_202)(sipModuleAPI_plasma_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        Plasma::Corona::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_203)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtGui_203)(sipModuleAPI_plasma_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Corona::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Corona::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[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[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return Plasma::Corona::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_plasma_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Corona::loadDefaultLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_loadDefaultLayout);

    if (!sipMeth)
    {
        Plasma::Corona::loadDefaultLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRegion sipPlasma_Corona::availableScreenRegion(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_availableScreenRegion);

    if (!sipMeth)
        return Plasma::Corona::availableScreenRegion(a0);

    extern QRegion sipVH_plasma_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_plasma_20(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[29]),sipPySelf,NULL,sipName_screenGeometry);

    if (!sipMeth)
        return Plasma::Corona::screenGeometry(a0);

    extern QRect sipVH_plasma_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_plasma_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipPlasma_Corona::numScreens() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_numScreens);

    if (!sipMeth)
        return Plasma::Corona::numScreens();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_plasma_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Corona *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Corona(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{193, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Corona = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Corona,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Corona::staticMetaObject,
    0,
    signals_Plasma_Corona,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/context.sip"
#include <plasma/context.h>
#line 16493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

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()
{
    sipCommonDtor(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);
}

void sipPlasma_Context::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::Context::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::Context::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::Context::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(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;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_Context::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::Context::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_Context::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::Context::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipPlasma_Context::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return Plasma::Context::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_Context *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_Context(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Context = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Context,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::Context::staticMetaObject,
    0,
    signals_Plasma_Context,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containmentactionspluginsconfig.sip"
#include <plasma/containmentactionspluginsconfig.h>
#line 17023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 (sipIsPyOwned(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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ContainmentActionsPluginsConfig = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Plasma__ContainmentActionsPluginsConfig,
        {0}
    },
    {
        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
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containmentactions.sip"
#include <plasma/containmentactions.h>
#line 17302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 17318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/dataengine.sip"
#include <plasma/dataengine.h>
#line 17339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 17351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/packagestructure.sip"
#include <plasma/packagestructure.h>
#line 17354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 17357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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 disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void init(const KConfigGroup&);
    QList<QAction*> contextualActions();
    void contextEvent(QEvent*);
    void configurationAccepted();
    QWidget* createConfigurationInterface(QWidget*);
    void save(KConfigGroup&);

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()
{
    sipCommonDtor(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::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_plasma_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_plasma_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_plasma_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipPlasma_ContainmentActions::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return Plasma::ContainmentActions::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_plasma_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_plasma_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::init(const KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_init);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::init(a0);
        return;
    }

    typedef void (*sipVH_kdeui_65)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KConfigGroup&);

    ((sipVH_kdeui_65)(sipModuleAPI_plasma_kdeui->em_virthandlers[65]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QList<QAction*> sipPlasma_ContainmentActions::contextualActions()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_contextualActions);

    if (!sipMeth)
        return Plasma::ContainmentActions::contextualActions();

    typedef QList<QAction*> (*sipVH_QtGui_168)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_168)(sipModuleAPI_plasma_QtGui->em_virthandlers[168]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipPlasma_ContainmentActions::contextEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_contextEvent);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::contextEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_plasma_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::configurationAccepted()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_configurationAccepted);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::configurationAccepted();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_plasma_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QWidget* sipPlasma_ContainmentActions::createConfigurationInterface(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_createConfigurationInterface);

    if (!sipMeth)
        return Plasma::ContainmentActions::createConfigurationInterface(a0);

    typedef QWidget* (*sipVH_kdeui_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_kdeui_42)(sipModuleAPI_plasma_kdeui->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipPlasma_ContainmentActions::save(KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_save);

    if (!sipMeth)
    {
        Plasma::ContainmentActions::save(a0);
        return;
    }

    typedef void (*sipVH_kdeui_66)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfigGroup&);

    ((sipVH_kdeui_66)(sipModuleAPI_plasma_kdeui->em_virthandlers[66]))(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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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 || sipIsDerived((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;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipPlasma_ContainmentActions *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Plasma_ContainmentActions(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{141, 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}
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_ContainmentActions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__ContainmentActions,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Plasma::ContainmentActions::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/containment.sip"
#include <plasma/containment.h>
#line 18506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/plasma/view.sip"
#include <plasma/view.h>
#line 18510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 1970 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qtransform.sip"
#include <qtransform.h>
#line 18516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/plasma/sipplasmapart5.cpp"


/* 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 (sipIsPyOwned(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[] = {{530, 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},
};


pyqt4ClassTypeDef sipTypeDef_plasma_Plasma_Containment_StyleOption = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Plasma__Containment__StyleOption,
        {0}
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
